Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22731 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21227 invoked by uid 1010); 13 Apr 2006 08:35:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21212 invoked from network); 13 Apr 2006 08:35:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2006 08:35:10 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:47330] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 78/89-19715-C3D0E344 for ; Thu, 13 Apr 2006 04:35:09 -0400 Received: (qmail 16884 invoked from network); 13 Apr 2006 08:35:04 -0000 Received: from internal.zend.office (HELO thinkpad) (10.1.1.1) by internal.zend.office with SMTP; 13 Apr 2006 08:35:04 -0000 To: , Date: Thu, 13 Apr 2006 12:34:55 +0400 Message-ID: <000001c65ed5$27de1a70$6e02a8c0@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Subject: RE: [PHP-DEV] [PATCH] Parse "-d / --define" for php-cgi / php-fastcgi From: dmitry@zend.com ("Dmitry Stogov") References: This patch willn't work for FastCGI. It will alter ini entry only for first request, but then it will be = restored to previous value. The proper patch is already applied to HEAD. Thanks. Dmitry. > -----Original Message----- > From: dAniel hAhler [mailto:php@thequod.de]=20 > Sent: Thursday, April 13, 2006 3:36 AM > To: internals@lists.php.net > Subject: [PHP-DEV] [PATCH] Parse "-d / --define" for php-cgi=20 > / php-fastcgi >=20 >=20 > Hello, >=20 > please find attached a tiny patch to parse "-d" and=20 > "--define" command line=20 > arguments for fastcgi/cgi sapi. >=20 > This allows overriding php.ini defaults in a very convient=20 > way in the wrapper script that gets usually used (at least in=20 > a fastcgi/suexec setup). >=20 > The patch is against PHP_5_1, because AFAICS this=20 > functionality is already in HEAD?! >=20 > Because 5.1.3 is about to get released, I don't think it gets=20 > added for it, but please consider it for the 5.2 branch. >=20 > Thank you. >=20