From: sailorb at netvision dot net dot il
Operating system: Windows 2000 SP4
PHP version: 4.3.4
PHP Bug Type: Other web server
Bug description: PHP and Xitami Related to Bug #25305 "No input file specified." error
Description:
------------
"No input file specified." problem.
However, I am running Xitami v2.5b1 with PHP 4.3.4 on Win2k and I still
recieve the error. In php.ini I have the following:
; doc_root =
cgi.force_redirect = 0
cgi.fix_pathinfo = 1
I think the issue is related to the fact that the default cgi-bin
directory is seperated from the webpages directory i.e. c:\xitami\cgi-bin
and c:\xitami\webpages?
Maybe changing Xitami settings so that cgi-bin will be under webpages will
help (i.e. c:\xitami\webpages\cgi-bin)?
Reproduce code:
---------------
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php
echo "Hello There<br>";
?>
<pre >
<?php
print_r(get_loaded_extensions());
print_r(phpinfo());
?>
</pre>
</body>
</html>
Expected result:
----------------
Hello There
and the output of the two function calls.
Actual result:
--------------
No input file specified.
--
Edit bug report at http://bugs.php.net/?id=26709&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26709&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26709&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26709&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26709&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26709&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26709&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26709&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26709&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26709&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26709&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26709&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26709&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26709&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26709&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26709&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26709&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26709&r=float