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

From: Date: Thu, 14 Dec 2000 11:21:32 +0000
Subject: Re: RC5 report with Win32 and Apache: ok except $PHP_SELF
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-1864@lists.php.net to get a copy of this message
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.
That's it, thanks! I couldn't remember why the precompiled binary from php4win.de and dated from November 7th worked. That's because sapi/ contained a php.exe and at this time I actually read the documentation, etc. to put this binary instead of the original php.exe But, in RC5 package from php4win.de there's no more php.exe in sapi/ directory or any readme.txt that would say something about this. So, I was confused and thought it was a bug. :) I hope RC6 or the final package will include php.exe in sapi/ compiled with force CGI redirect. -- Olivier.Cahagne@epita.fr

« previous php.qa (#1864) next »