Re: php4(PHP_4_3) /sapi/cgi cgi_main.c
| From: | Shane Caraveo | Date: | Fri, 07 Feb 2003 00:22:04 +0000 |
| Subject: | Re: php4(PHP_4_3) /sapi/cgi cgi_main.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-18471@lists.php.net to get a copy of this message | ||
The vars were updated to correctly reflect the cgi spec in 4.3.0. The patch below is just a cleanup and fix for linux. command line wouldn't have cgi vars in the first place, and depending on what vars you are saying do not exist, and what your url is, you may or may not see things the way they once were. This in effect, makes it possible to write scripts that work under mod_php and cgi and iis (only in HEAD right now).
Shane
Harald Radi wrote:
if i don't disable cgi.fix_pathinfo then i only have the ORIG_* variables set but not the real ones. that breaks a whole bunch of my (and not only my) scripts. any explaination for that ? i'm using php-cig + iis (and commandline doesn't work either). harald "Shane Caraveo" <shane@caraveo.com> schrieb im Newsbeitrag news:<cvsshane1043532166@cvsserver>...shane Sat Jan 25 17:02:46 2003 EDTModified files: (Branch: PHP_4_3) /php4/sapi/cgi cgi_main.c Log:MFH fix bug 21261putenv on some platforms requires we provide the memory cleanup env parsing logicfix bug 21367missed optargs in a previous patch