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!





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to