ID:               17124
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         PHP options/info functions
 Operating System: Windows 2000
 PHP Version:      4.2.0
 New Comment:

You need to use the php.exe in the /sapi directory, php-cli.exe should
not be used in with a webserver.
I've already updated install.txt to reflect these changes.


Previous Comments:
------------------------------------------------------------------------

[2002-05-09 12:39:38] [EMAIL PROTECTED]

I believe there is an error in the php install.txt.

-Using the traditional php as a CGI binary, it states to add the
following line to your conf file on a Apache server:

Action application/x-httpd-php "/php/php.exe"

However, in the new build of php 4.2.0 using the zip package, there is
no "php.exe" in the php directory.  There is only a php-cli.exe, the
php.exe is actually located in the sapi directory.

I am having tremendous amounts of trouble installing the new php build
on my Apache server, whereas the previous php build runs fine on my
portable laptop running the same server.  I am getting both 404 file
not founds, and 500 errors.  I've also checked the Apache error log
file and it states:

[Thu May 09 12:19:54 2002] [error] [client 127.0.0.1] script not found
or unable to stat: D:/Apache/php/php.exe, referer: http://localhost/

Todd Henry
Portland, ME

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17124&edit=1

Reply via email to