#47822 [NEW]: No input file specified NOW FOUND OUT WHY

[email protected] ("erik at media dot virogo dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             erik at media dot virogo dot com
Operating system: W2K3
PHP version:      5.2.9
PHP Bug Type:     IIS related
Bug description:  No input file specified NOW FOUND OUT WHY

Description:
------------
I had some weird problems for months now trying to solve the No input file
specified error.
And all I found on the web couldn't help me.
As I used to recall similair strange errors with a
IIS6/W2K3/PHP5/MySQL5.x, I got back to the basics.
And as always, it is the compatibility between extensions from PHP versus
MySQL.

One which now succesfully works for my multi hosted environment: PHP
5.2.9-1 & MySQL 5.0.77

Any other combination of higher versions of MySQL will definately give you
trouble.

As for what I tried in any order:
- Switched of EXIF extension as it has caused trouble
- Never used the doc_root = , so was already empty/disabled also
- Had minor succes moving PHP from C:\Program Files\PHP to C:\PHP
- Tried numerous other PHP5 versions versus MySQL 5.1
- Multi host environment weirdo: Site 1 works, Site 2 doesn't especially
with pages using MySQL

So finally, installed over and over until to one which succesfully works:
PHP 5.2.9-1 & MySQL 5.0.77

Maybe the mysql extension needs a lookup against MySQL 5.1 in a multi host
environment.

Reproduce code:
---------------
One way of getting a No input file specified error, is to do the
following:
Install PHP and MySQL 5.1 on IIS6/W2K3
Make a custom errorpage for 404 errors which in fact is a php-script (e.g.
redirect.php)
Now try visiting your domain for index.php, OK
Now try visiting your domain for a non exsisting php-script and bingo!
No input file specified.


Expected result:
----------------
The redirect.php in action

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

-- 
Edit bug report at http://bugs.php.net/?id=47822&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        http://bugs.php.net/fix.php?id=47822&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        http://bugs.php.net/fix.php?id=47822&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        http://bugs.php.net/fix.php?id=47822&r=trysnapshot60
Fixed in CVS:                        http://bugs.php.net/fix.php?id=47822&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47822&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=47822&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=47822&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=47822&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=47822&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=47822&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=47822&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=47822&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=47822&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=47822&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47822&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47822&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=47822&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=47822&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=47822&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=47822&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=47822&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.