PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP3 files und Apache



Johanson
02.04.03, 09:42
Hallo Forum

Ich hab zwar hier im Forum schon einige Postings gefunden aber mein Prob kann ich immer noch nicht lösen,... :-(

Habe auf meiner Debian Box IMP und Horde installiert, welche PHP 4 benötigen, die files aber heissen *.php3, jetzt ist aber php4 doch abwärtskompatibel, oda ???


In der httpd.conf werden die php4 module geladen :


LoadModule php4_module /usr/lib/apache/1.3/libphp4.so


Auch die Index.php3 sollte dem apache nicht fremd sein :

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
DirectoryIndex index.html index.php3 index.php index.htm index.shtml index.cgi
</IfModule>


was das nächste bedeutet ist mir nicht ganz klar, aber ich habe es in einem akt der verzweiflung einfach mal einkommentiert:


AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
#
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps

Ich hoffe das war nicht zuviel der beschreibung .....
Wäre toll wenn jemand einen tip hat

Danke

Johanson

mehlvogel
02.04.03, 10:28
Wo ist denn genau dein Problem? werden die Dateien nicht angezegit, nicht geparst?

Bei zweiteren würde ich erstmal versuchen aus diesenm hier



AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps

Das hier


AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps


zu machen...

Johanson
02.04.03, 10:44
Hallo

Oops, hab ich wohl ganz vergessen, auf das eigentliche Problem.

Ja, normale .php files werden ganz normal geöffnet nur wenn ein file .php3 heisst,
öffnet sich eine download box.

Wenn ich aus dem .php3 ein .php file mache funkt es wieder, nur ist das bei den unzähligen
.php3 files von horde nicht machbar.

@ mehlvogel
Danke werde ich gleich mal ausprobieren

Danke

Johanson