php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48936 No input file specified on NTFS mount points
Submitted: 2009-07-15 22:42 UTC Modified: 2009-07-16 14:17 UTC
From: phpbug at tomvalentine dot net Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3.0 OS: Windows Vista
Private report: No CVE-ID: None
 [2009-07-15 22:42 UTC] phpbug at tomvalentine dot net
Description:
------------
If a partition is mounted in Windows into an empty folder, as opposed to a drive letter, php-cgi version >= 5.3.10 will return
"No input file specified." 
and if logging to an error log, log this error: 
"[15-Jul-2009 23:24:36] PHP Warning:  Unknown: failed to open stream: No error in Unknown on line 0"

The script is called either from the windows command prompt (as administrator), of through nginx/fastcgi server combination

n:\ is actually the partition mounted via drive letter
c:\torrents is the same partition mounted via empty folder

I have also tried the latest snapshots



Reproduce code:
---------------
C:\php-5.3.0-nts-Win32-VC6-x86>php-cgi -f n:\hi.php -n
C:\php-5.3.0-nts-Win32-VC6-x86>php-cgi -f c:\torrents\hi.php -n

Expected result:
----------------
hello world (or whatever php script actually does)

Actual result:
--------------
No input file specified.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-16 13:28 UTC] jani@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.


 [2009-07-16 13:30 UTC] pajoye@php.net
and which other bug is it?
 [2009-07-16 14:17 UTC] phpbug at tomvalentine dot net
think the other bug is 48778
-sorry, didn't see this when i searched to see if it had been logged already, I either had the search results with date ascending, and/or didn't use quite the same terms to search with.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 10 23:00:01 2025 UTC