phpbar.de logo

Mailinglisten-Archive

[php] WAMP / PHP4 installation problems

[php] WAMP / PHP4 installation problems

Heiko Gawehn heiko.gawehn_(at)_gmx.net
Fri, 19 Jan 2001 19:57:23 +0100


Hallo Holger,

sorry, hab ne Weile nicht mehr in die Mailbox geguckt, drum erst jetzt

> ScriptAlias /php/ "c:/pfad/"
>
> dient doch dazu, dass nachher unter
> http://myhost/php/xyz.php eine xyz.php im verzeichnis
> c:/pfad/ gefunden wird, oder?

nein, der ScriptAlias zeigt dahin, wo du php installiert hast. Muss also bei
dir
ScriptAlias /php4/ "c:/php4/"
heißen

> Action application/x-httpd-php "/php4/php.exe"
>
> die ist so wie sie da steht richtig, wenn ich PHP
> in den pfad c:\php4 installiert habe, ja?

ist dann okay, ja.

> nochmal zur info:
>
> * php wurde installiert in "C:\PHP4"
> * webroot liegt unter "C:\Apache\www_root"
> * php-scripte liegen in "C:\Apache\www_root\cgi-bin"
>
> wie müssen dann die zeilen in der httpd.conf und php.ini
> aussehen? irgendwie ist der wurm drin hier. auch die FAQs
> sind an der stelle etwas schwammig

** httpd.conf:
ServerRoot "c:/apache"
DocumentRoot "c:/apache/www_root"
ScriptAlias /php4/ "c:/php4/"
AddType application/x-httpd-php .php .php4
Action application/x-httpd-php "/php4/php4.exe"

** php.ini
doc_root  = c:\apache\www_root

und jetzt sollte das php aber zucken... (Win neu starten!)

viel Glück!

Heiko



php::bar PHP Wiki   -   Listenarchive