Edit report at http://bugs.php.net/bug.php?id=51988&edit=1
ID: 51988 Updated by: srina...@php.net Reported by: pedro dot galan at cscamaras dot es Summary: No input file specfied when trying to exec any PHP script from Web Server -Status: Open +Status: Bogus Type: Bug Package: CGI related Operating System: SunOS 5.8 sparc PHP Version: 5.2.13 New Comment: This is not a PHP bug but a configuration issue. Please contact the appppriate web server forum in this case http://forums.sun.com/forum.jspa?forumID=759 and post your question there. Previous Comments: ------------------------------------------------------------------------ [2010-06-10 21:47:15] pedro dot galan at cscamaras dot es I've verfied that scripts using PHP Cli executable work fine with my Web Server but the problem with PHP Cgi executable ramain the same. So, PHP Cli allows to execute PHP scripts across Sun Java System Web Server 6.1 but PHP Cgi products "no input file specified". ------------------------------------------------------------------------ [2010-06-03 14:03:53] pedro dot galan at cscamaras dot es 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 this bug report at http://bugs.php.net/bug.php?id=51988&edit=1