Bug #72035 [NEW]: php-cgi.exe fails to run scripts relative to drive root
| From: | ab@php.net | Date: | Fri, 15 Apr 2016 23:10:27 +0000 |
| Subject: | Bug #72035 [NEW]: php-cgi.exe fails to run scripts relative to drive root | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-200576@lists.php.net to get a copy of this message | ||
From: ab
Operating system: Windows
PHP version: 7.0Git-2016-04-15 (Git)
Package: CGI/CLI related
Bug Type: Bug
Bug description:php-cgi.exe fails to run scripts relative to drive root
Description:
------------
Credits to Mukhtar Desai for reporting.
C:\PHP7.0.RC7>php.exe \inetpub\wwwroot\helloworld.php
hello world
C:\PHP7.0.RC7>php-cgi.exe \inetpub\wwwroot\helloworld.php
Status: 404 Not Found
X-Powered-By: PHP/7.0.0RC7
Content-type: text/html; charset=UTF-8
No input file specified.
C:\PHP7.0.RC7>php-cgi.exe helloworld.php
X-Powered-By: PHP/7.0.0RC7
Content-type: text/html; charset=UTF-8
hello world
Test script:
---------------
No script necessary, it is a path parsing issue.
--
Edit bug report at https://bugs.php.net/bug.php?id=72035&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72035&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72035&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72035&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72035&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72035&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72035&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72035&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72035&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72035&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72035&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72035&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72035&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72035&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72035&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72035&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72035&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72035&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72035&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72035&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72035&r=mysqlcfg