ID: 26709 Comment by: arcade at dotcomrefugee dot org Reported By: sailorb at netvision dot net dot il Status: No Feedback Bug Type: Other web server Operating System: Windows 2000 SP4 PHP Version: 4.3.4 New Comment:
I have experienced a similar problem. I first had PHP 4.3.4 and compiled a CGI version and a CLI version. CLI works fine, and the CGI seems to work too. But under thttpd 2.23beta1, I would get "No input file specified." when running hello world. It's running on a Debian 2.4.24. The PHP is as follows: #!/usr/local/bin/php-cgi <?php print "hello world."; ?> Permissions (according to thttpd) seem to be set correctly (chmod 755). I then tried to download the latest CVS snapshot -- PHP 4.3.5RC2 (cgi) (built: Feb 10 2004 00:26:50). Compiled the same way as before. CGI version and a CLI version. Same problem. Something I'm doing incorrectly? The above was probably not a very good bug report :( -chris. Previous Comments: ------------------------------------------------------------------------ [2004-01-17 00:51:38] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2004-01-11 11:20:55] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-12-24 10:19:42] sailorb at netvision dot net dot il 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 this bug report at http://bugs.php.net/?id=26709&edit=1
