Ich möchte, daß der PHP Interpreter mit dem Parameter -s aufgerufen wird, damit
er "highlighted Sourcecode" ausgibt. Dazu habe ich folgendes in die HTTPD.conf
eingetragen:
ScriptAlias /phps/ "d:/programme/apache/cgi-bin/php4/"
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-src .phps
Action application/x-httpd-php-src "/phps/php.exe -s"
Beim Aufrufen der Datei "test.phps" kommt ein "Seite nicht gefunden" vom IE
zurück und in den Apache Logslog steht:
Access Log:
127.0.0.1 - - [29/Aug/2001:13:02:56 +0200] "GET /test.phps HTTP/1.1" 200 28
Error Log:
(2)No such file or directory: script not found or unable to stat:
d:/programme/apache/cgi-bin/php4/php.exe -s
Ohne die option "-s" in der Action Direktive wird das Skript normal
interpretiert.
Mein System: Apache 1.3 ohne Source | PHP4 CGI only version | Win2k SP2
^^^^^^^^
deswegen funktioniert die loadModule
Lösung nicht.
Hoffentlich kann mir jemand helfen.
Dankeschöin
Bernhard
Das funktioniert nicht. Mach das ganze als CGI-Script und benutze
#!php.exe -s
in der ersten Zeile.
--
Björn Höhrmann { mailto:bjo...@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/