PHP3 Nachrüsten

Apache, Lighttpd, nginx, Cherokee
Post Reply
ibook
Posts: 32
Joined: 2002-12-25 21:08
Location: Düsseldorf/Mönchengladbach/Krefeld
 

PHP3 Nachrüsten

Post by ibook »

Ich möchte meinen apache auch für php3 freigeben, php4 läuft schon.
Ich weiss, daß ich in der httpd.conf einen Eintrag verändern muss, hab das lokal auf meinem rechner schon erfolgreich geschafft, bin mir aber nicht agnz sicher an welcher stelle im puretec rootserver httpd.conf das geschehen soll.

was muss ich beachten

wird confixx das wieder überschreiben ??

;-((


Georg
kworth2
Posts: 69
Joined: 2002-10-22 18:17
 

Re: PHP3 Nachrüsten

Post by kworth2 »

hmm, du ersetzt es einfach so in der httpd.conf wie local, du suchst den parameternamen der local vorliegt und änderst den wert ab. Nein confixx wird es nicht überschreiben, confixx überschreibt nur die confixx_vhost file die in der httpd.conf includiert ist.

Solltest du nicht wissen wo die httpd.conf liegt ganz einfach in der console: locate httpd.conf
ibook
Posts: 32
Joined: 2002-12-25 21:08
Location: Düsseldorf/Mönchengladbach/Krefeld
 

cool

Post by ibook »

RESPEKT: also der locate Befehl war mir nicht bekannt, echt genial. Ich bräuchte mal endlich eine umfangreiche Befehlsliste irgendwo her, die, welche ich benutze ist irgendwie nicht komplett.

Zum Problem: Die genaue Stelle wo und was ich da schreibe weißt du nicht ??
dynamix
Posts: 53
Joined: 2003-02-26 13:04
Location: Passau
Contact:
 

Re: PHP3 Nachrüsten

Post by dynamix »

Das ganze wird bei dir in etwa so aussehen:

Code: Select all

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

Hier fügst du einfach noch ein:

Code: Select all

    AddType application/x-httpd-php .php3


hinzu und startest deinen Apache via "apachectl restart" neu.

Schon sollte das ganze funktionieren.


Gruß Marco
Post Reply