install on W98/PHP 4.0.6/Apache 1.3.20
| From: | Clive Porter | Date: | Mon, 06 Aug 2001 09:54:24 +0000 |
| Subject: | install on W98/PHP 4.0.6/Apache 1.3.20 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3854@lists.php.net to get a copy of this message | ||
With Apache running, a .php file displays the html content on the browser
but misses the php bit.
The PHP error log says "[06-Aug-2001 10:10:21] PHP Fatal error: Unable to
open C:\Program in Unknown on line 0"
I have put Progra~1\Apache~1\Apache everywhere in the config files.
my httpd.conf file includes -:
#PHP4 Directives
#LoadModule php4_module c:/php/sapi/php4apache.dll
#AddType application/x-http-php .php
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "c:/php/php.exe"
This happens as a cgi or as a module
all the .dlls are in c:\windows\ and php4ts.dll is in c:\windows\system\
If I run c:\php\php.exe -q <path to .phpfile> from the dos prompt it outputs
the php bit correctly
I get the apache index.html page if i issue the http://127.0.0.1
If I call a .php file from the browser php opens a dos box and writes the
error to the box and closes
If Apache is stopped and PWS is started with the registry modified, it gives
the same result
I would greatly appreciate any help with this as I am going bananas!