php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2050 Changes the name of the page before the web server serves it.
Submitted: 1999-08-13 19:15 UTC Modified: 2000-08-08 22:48 UTC
From: jim dot m at dotcom dot sk dot ca Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 2 OS: Win NT4 SP5
Private report: No CVE-ID: None
 [1999-08-13 19:15 UTC] jim dot m at dotcom dot sk dot ca
Whenever you try to load a .php page with 10 characters or less in it's name. It gives the error 'Fatal error: Unable to open c:\w? in Unknown on line 0' or 'Fatal error: Unable to open c:\wwwroot\index.php? in Unknown on line 0'.

It works perfectly with any page with more then 10 characters in it's name.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-16 11:30 UTC] jim dot m at dotcom dot sk dot ca
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.


 [2000-07-23 00:38 UTC] zak at cvs dot php dot net
Wrote user:

-------------------------------------------
Dear Jim,

I am writing regarding the bug report that you posted 1999-08-13 at 19:15:50

Have you tried any of the newer releases of PHP?  If so, does the bug still occur?

Thank you for your time!
-------------------------------------------
 [2000-08-08 22:48 UTC] waldschrott@php.net
Closed due to missing user feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 04:01:29 2024 UTC