#49039 [NEW]: Can't pass file name with subfolder name 3 characters or less
| From: | sant9442 at gmail dot com | Date: | Thu, 23 Jul 2009 19:00:21 +0000 |
| Subject: | #49039 [NEW]: Can't pass file name with subfolder name 3 characters or less | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-140149@lists.php.net to get a copy of this message | ||
From: sant9442 at gmail dot com
Operating system: Windows
PHP version: 5.3.0
PHP Bug Type: CGI related
Bug description: Can't pass file name with subfolder name 3 characters or less
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"
--
Edit bug report at http://bugs.php.net/?id=49039&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49039&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49039&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49039&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49039&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49039&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49039&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49039&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49039&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49039&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49039&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49039&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49039&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49039&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49039&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49039&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49039&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49039&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49039&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49039&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49039&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49039&r=mysqlcfg