Bug #17124 Updated: install.txt (php.exe vs php-cli.exe)
| From: | thenry at mysideproject dot com | Date: | Fri, 10 May 2002 18:32:56 +0000 |
| Subject: | Bug #17124 Updated: install.txt (php.exe vs php-cli.exe) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7401@lists.php.net to get a copy of this message | ||
ID: 17124
Updated by: thenry@mysideproject.com
Reported By: thenry@mysideproject.com
Status: Closed
Bug Type: PHP options/info functions
Operating System: Windows 2000
PHP Version: 4.2.0
New Comment:
Ok, I fixed that error as well by simply copying php4ts.dll to the sapi
directory and now this php build works fine!
Previous Comments:
------------------------------------------------------------------------
[2002-05-10 14:26:12] thenry@mysideproject.com
Ok, now I updated my conf file for my Apache Server to the following:
Action application/x-httpd-php "/php/sapi/php.exe"
I restarted the server, then tried accessing one of my php files. I
get the following in a windows alert box. "php.exe - Unable To Locate
DLL", Thy dynamic link library php4ts.dll could not be found in the
specified path d:\Apahce~1\php\sapi ... (screen shot here
http://www.mysideproject.com/dump/php-error.gif)
This is because the php4ts.dll file is located in the php directory not
the Sapi directory. So now what?
On top of that, I thought I would cross reference the install.txt
located in the zip file to the one you have on the website at
http://cvs.php.net/co.php/php4/win32/install.txt
The install.txt online says to use the following Action application:
Action application/x-httpd-php "/php/php-cgi.exe"
I believe that is a documentation error as well. Confusing none the
less, any other suggestions? I think I will double back to release
4.1.2
------------------------------------------------------------------------
[2002-05-10 04:43:31] sander@php.net
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.
------------------------------------------------------------------------
[2002-05-09 12:39:38] thenry@mysideproject.com
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