Re: RC5 report with Win32 and Apache: ok except $PHP_SELF

From: Date: Thu, 14 Dec 2000 10:43:15 +0000
Subject: Re: RC5 report with Win32 and Apache: ok except $PHP_SELF
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-1857@lists.php.net to get a copy of this message
Hi Olivier, > Therefore, there's one bug with this particular build in CGI mode (I > can't compile Win32 as I don't have the tools and don't know how this > has been compiled): > $PHP_SELF returns the whole path /php4/php.exe instead of the actual Web > path: > Additional notes & tests: > I downloaded binary from > ftp://ftp.phpuk.org/php_binaries/php-4.0.4RC5-win32.zip > and the same happens, phpinfo() loaded from > http://192.168.0.1/php/info.php > shows PHP_SELF /php4/php.exe/php/info.php This is not a bug [ http://www.php.net/manual/security.php ] however, in the build from php4win you can also find a CGI version in the folder sapi that was compiled with --enable-force-cgi-redirect. Since other webservers can have problems with this setting the standard is to provide a CGI where force-cgi-redirect is not enabled. Cheers, Andreas -- andreas otto london (uk)

« previous php.qa (#1857) next »