|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-06-03 14:03 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 10:00:01 2025 UTC |
PHP 5.2.13 is configured exactly as it is said at the Web Server forum. Surprisingly PHP 5.2.13 is working fine as FASTCGI but I get "no input file specified" everytime I tray to execute any PHP script as CGI. The same thing happens with PHP 5.3.2. It works fine as FASTCGI but It doesn't do it as CGI ("no input file specified"). Thanks.