Re: Apache und Php4
Am Samstag 28 September 2002 13:12 schrieb Waldemar Gorus:
> Hallo,
>
> .php scripts werden nicht ausgeführt.
>
> Habe, so weit ich das in den Readmes und FAQs lesen konnte, alles
> richtig gemacht. Aber irgendwo muss sich ein Konfigurationsfehler
> eingeschlichen haben.
Vermutlich 8-(
Ich habe php4 mit apt-get installiert und die Apache config automatisch
anpassen lassen. Es hat alles sofort funktioniert (Woody 3.0).
> Debian / Woody, apache 1.3, php 4
> In der httpd.conf habe ich die LoadModule Zeile für PHP4
> auskommentiert. Außerdem noch nach Anleitung folgende zeilen
> auskommentiert:
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
Du brauchst auch noch dises Zeile
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
Ganz praktisch ist auch:
#
# 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.php index.htm index.shtml index.cgi
</IfModule>
Ciao, Hannes
--
Johannes Hromadka | Email Office: HromadkaJ at gmx.at
| Home : Dyane at surfeu.at
Vienna/Austria/Europe | OECC: http://www.oecc.org/
>>> Rust never sleeps (borrowed from Neil YOUNG) <<<
Reply to: