|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-07-23 19:00 UTC] sant9442 at gmail dot com
Description: ------------ After upgrading to 5.3 from 5.2.6, we began to see "No input file specified" errors with working URLs: /pwe/helloworld.php It was eventually discovered that renaming the pwe folder to something with 4 characters or more, then it would work. A subfolder name with 3 characters or less failed: Reproduce code: --------------- A url would be: /pwe/helloworld.php where pwe is a subfolder off the web server root document folder: d:\wc63\http So the web server script mapping spawn basically did this which can be emulated manually: cd \wc63\http d:\wc63\php-cgi.exe d:\wc63\http\pwe\helloworld.php This failed. Rename it to pwe1 and try: d:\wc63\php-cgi.exe d:\wc63\http\pwe1\helloworld.php and it should it work. Expected result: ---------------- A page is displayed Actual result: -------------- "No Input File Specified" PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 29 04:00:02 2025 UTC |
> I find this whole report confusing. Let us try to make it simple. Yes I agree, and thanks to your clue about junctions points and my yesterday attempt to fool it with a junction pointing to a longer folder name, I think I found the problem. In our hosting server product installation folder, for example: d:\wc63 we have a locked in sub folder name "HTTP" d:\wc63\http would be the so called "document root" folder. Now, for my development or support, I create multiple HTTP-build# to represent versions of our templates: http-4521\ http-4522\ http-4525\ http-4529\ or I might have customer's copies of their HTTP folder http-customer1\ http-customer2\ What I do is create a junction to symbolic name HTTP for example: junction HTTP HTTP-4529 So in DOS, the DIR listing shows: 06/20/2009 09:22 PM <JUNCTION> http 07/23/2009 05:48 PM <DIR> http-4529 Now, I have a PWE (PHP for wildcat) script in http-4529\pwe\phpinfo.php which is linked to: http\pwe\phpinfo.php PHP 5.3 has a problem with this: php.exe d:\wc63\http\pwe\phpinfo.php Could not open input file: d:\wc63\http\pwe\phpinfo.php php.exe d:\wc63\http-4529\pwe\phpinfo.php HELLO PRIVATE It appears PHP 5.3 has an issue with symbolic links, This is not the case with 5.2.6. g:\php526\php.exe d:\wc63\http\pwe\phpinfo.php HELLO PRIVATE Thanks