Re: RC5 report with Win32 and Apache: ok except $PHP_SELF
| From: | Olivier Cahagne | Date: | Thu, 14 Dec 2000 11:44:50 +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-1866@lists.php.net to get a copy of this message | ||
[...]
> >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.
>
> it's FORCE_CGI_REDIRECT
> i'll add an define to config.w32.h
And is it possible, to avoid confusion, that phpinfo() displays "Configure
Command" between "Build Date" and "Server API" as on Unix platforms ? (as
the build process seems different, maybe this isn't available).
Perhaps it could be added to a more detailed Server API information in
sapi/cgi/cgi_main.c, eventually mentioning force-cgi-redirect or
discard-path ? (if it's not possible to have the information with the above
method)
The function
static int _print_module_info ( zend_module_entry *module, void *arg )
could return different information using #if DISCARD_PATH for example, no ?
On Win32, we don't actually know how PHP has been built if using precompiled
binaries.