PHP4 Bug #1777 Updated: No input file specified when run as cgi

From: Date: Wed, 21 Jul 1999 05:17:32 +0000
Subject: PHP4 Bug #1777 Updated: No input file specified when run as cgi
Groups: php.dev 
Request: Send a blank email to php-dev+get-8839@lists.php.net to get a copy of this message
ID: 1777 User Update by: johnh@solidtechnology.com Status: Open Bug Type: Installation problem Description: No input file specified when run as cgi 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 sets Full Bug description available at: http://bugs.php.net/version4/?id=1777

« previous php.dev (#8839) next »