PHP 4.0 Bug #2050 Updated: Changes the name of the page before the web server serves it.
| From: | Bug Database | Date: | Mon, 16 Aug 1999 15:30:24 +0000 |
| Subject: | PHP 4.0 Bug #2050 Updated: Changes the name of the page before the web server serves it. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9881@lists.php.net to get a copy of this message | ||
ID: 2050
User Update by: jim.m@dotcom.sk.ca
Status: Open
Bug Type: Reproduceable crash
Description: Changes the name of the page before the web server serves it.
Tried it on two different NT4 SP5 systems and one Win95 system. All were running PHP4 beta 2 as a
CGI under Apache 1.3.6.
The length in characters of the full path seems to triger the error. Not just the file name, like I
mentioned earlier.
I am also running PHP3 3.0.11 as a CGI on all machines using '.php3' extention.
Here are the steps I took when installing it.
1. extracted it to C:\php42\
2. added php.ini to C:\winnt\ or c:\windows (some with php_mysql.dll enabled)
3. on one machine I added php4ts.dll to C:\winnt\system32\
- the other two I left that file in C:\php42\. PHP4 b1 seemed to work like this.
4. added these lines to the httpd.conf of apache
ScriptAlias /php4/ "c:/php42/"
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 "/php4/php.exe"
5. Then reloaded apache.
Full Bug description available at: http://bugs.php.net/version4/?id=2050