From: Operating system: SunOS 5.8 sparc PHP version: 5.2.13 Package: CGI related Bug Type: Bug Bug description:No input file specfied when trying to exec any PHP script from Web Server
Description: ------------ When trying to run any PHP script from my Web Server (Sun Java System Web Server 6.1) as CGI always get "No input file specified". Configure options: ./configure --with-curl --with-mysql=/usr/local/mysql --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/lib -enable-force-cgi-redirect Changed PUTS("No input file specifiedddddd.\n"); by PUTS(zend_printf("%s",file_handle.filename)); at line 1947 in cgi_main.c and what i can see at the browser is (null) so the problem is with path_translated for sure. I've a lot of PHPP4.1 scripts running at the same Web server so the configurantion is the same. It is not too probalbe that the problem is at the Web Server. Thanks a lot. Test script: --------------- matrix /data/web_html/publicado/empresafamiliar/php5 425 #more phpinfo5.php #!/usr/local/bin/php5 <?php phpinfo(); ?> Expected result: ---------------- I expect an HTML page with the result of the phpinfo function. Actual result: -------------- No input file specified -- Edit bug report at http://bugs.php.net/bug.php?id=51988&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51988&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51988&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=51988&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=51988&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51988&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51988&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51988&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51988&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51988&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51988&r=support Expected behavior: http://bugs.php.net/fix.php?id=51988&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51988&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51988&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51988&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51988&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51988&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51988&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51988&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51988&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51988&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51988&r=mysqlcfg