RE: [PHP-QA] RC5 report with Win32 and Apache: ok except $PHP_SELF

From: Date: Thu, 14 Dec 2000 11:23:59 +0000
Subject: RE: [PHP-QA] RC5 report with Win32 and Apache: ok except $PHP_SELF
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-1863@lists.php.net to get a copy of this message
> -----Original Message----- > From: Olivier Cahagne [mailto:olivier.cahagne@epita.fr] > Sent: 14 December 2000 10:54 > To: php-qa@lists.php.net; Daniel Beulshausen > Subject: Re: [PHP-QA] RC5 report with Win32 and Apache: ok except > $PHP_SELF > > > > >It works fine with Apache 1.3.14 on Windows 2000 in both CGI and Apache > > >mode. Tested with heavy imap_* functions. > > >There're no sessions errors (bug #5231 seems to be definitely fixed). > > >=== > > > > > >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: > > > > precompiled binaries are always compiled without Force CGI Redirect, > > because not all webservers support them, but we can put another > *.exe into > > the release which supports force cgi redirect. > > Ok, thanks for the information, can phpinfo() show this information or > perhaps the compilations directives on Win32 (like on Unix platforms) ? > You can enable this on win32 when building your own customo binaries by defineing the correct constant in win32.conf.h. Cant remeber the constant now but thats where to do it, Im sure Daniel knows which it is.. maybe #DEFINE ENABLE_FORCE_CGI_REDIRECT 1 would do it.. not sure. James

« previous php.qa (#1863) next »