[PATCH] Parse "-d / --define" for php-cgi / php-fastcgi
| From: | dAniel hAhler | Date: | Wed, 12 Apr 2006 23:35:55 +0000 |
| Subject: | [PATCH] Parse "-d / --define" for php-cgi / php-fastcgi | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-22727@lists.php.net to get a copy of this message | ||
Hello,
please find attached a tiny patch to parse "-d" and "--define" command line
arguments for fastcgi/cgi sapi.
This allows overriding php.ini defaults in a very convient way in the
wrapper script that gets usually used (at least in a fastcgi/suexec setup).
The patch is against PHP_5_1, because AFAICS this functionality is already
in HEAD?!
Because 5.1.3 is about to get released, I don't think it gets added for it,
but please consider it for the 5.2 branch.
Thank you.
Attachment: [text/x-diff] php_cgi_parse_define.patch.txt
Attachment: [text/x-diff] php_cgi_parse_define.patch.txt