|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1999-07-20 23:06 UTC] johnh at solidtechnology dot com
When installing php4 as a cgi program it returns No input file specified. The apache config is as follows: AddType application/x-httpd-php .php Action application/x-httpd-php /www/cgi-bin/php4 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 21:00:01 2025 UTC |
The following patch fixes the problem; however, I am unsure if it is correct. --- request_info.c.orig Tue Jul 20 22:01:10 1999 +++ request_info.c Tue Jul 20 22:01:28 1999 @@ -36,6 +36,7 @@ if (!request_info.script_filename) { request_info.script_filename = request_info.php_argv0; } + SG(request_info).path_translated = getenv("PATH_TRANSLATED"); #if WIN32|WINNT /* FIXME WHEN APACHE NT IS FIXED */ /* a hack for apache nt because it does not appear to set argv[1] and setsThe following patch fixes the problem; however, I am unsure if it is correct. --- request_info.c.orig Tue Jul 20 22:01:10 1999 +++ request_info.c Tue Jul 20 22:01:28 1999 @@ -36,6 +36,7 @@ if (!request_info.script_filename) { request_info.script_filename = request_info.php_argv0; } + SG(request_info).path_translated = getenv("PATH_TRANSLATED"); #if WIN32|WINNT /* FIXME WHEN APACHE NT IS FIXED */ /* a hack for apache nt because it does not appear to set argv[1] and sets