Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121610 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 29086 invoked from network); 7 Nov 2023 16:33:17 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 Nov 2023 16:33:17 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1B747180503 for ; Tue, 7 Nov 2023 08:33:17 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29838 64.147.123.0/24 X-Spam-Virus: No X-Envelope-From: Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 7 Nov 2023 08:33:16 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 11F1C3200970; Tue, 7 Nov 2023 11:33:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 07 Nov 2023 11:33:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beccati.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1699374794; x=1699461194; bh=VsXicAIVrFNgSFr4JWDqIcZE/JHXXyt+ORF 62/x87Fk=; b=BdTuOAFq7yICUF3InoJWKg3U37PH5MYovMUCfGEUl/Umdm5Y8Nd nQWdcNpeFhZvrh0tG5HnZVlInvWPfmHroqL3rhsySl7lu2WdOIsNpLx0cdNFZwfc WGfid31O79MEX0LYXTSK8hlFCltn9NoQiLOXGivbQM2pqpRobrrMKMEKt9vW861/ d7vejIT70sFdFEYjpelt2Ia4sNk4NEn5pEwEp0t9pKaTzMd7YVrim2iyAXzLqmDS Iokp5uUUewL6WGqOFW2qHN8Q7auEbT/vtQa2P+Ovv8JmT2P/FknJ/hwVbGRG1enA KnmjVc+Uxvd/GUTsOfPRUvmB5F1e296Larw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699374794; x=1699461194; bh=VsXicAIVrFNgSFr4JWDqIcZE/JHXXyt+ORF 62/x87Fk=; b=dJ1+bYrdskBpGl4zR3a6nSJJOaNCT6ncjFlLAAcIhbwOlhFtj4q fxXo6N7uPTe2TxJSjkWF5bdpML0TMAVOwXbHCZWvxb8nbtT+PvwSLcdqjSIa61Db KVErwzIvColKrMlUYGqp7/ntWehKmuj5jomAY5VoTFXIgFcc31e+1cWFrbs9Crh3 tpR7lsp+YTqGWg7jHAotVjBzYsmsbKCJIHGoTp6sR/irFcyhxCPTtbSKGyuFkZBM NcLTqOBj5gfRwooAZ+Voea5eMf83Yerp65H4J5RCZtLklz3K3X2qIsL7d2C3U5Am n0/6FRAFxN3Ans9ZWakWsDsLgK66T60pohw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudduiedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeforght thgvohcuuegvtggtrghtihcuoehmrghtthgvohessggvtggtrghtihdrtghomheqnecugg ftrfgrthhtvghrnhepvdejjeevtddvhfffgeevvdettdevieduhfffueehgeeftdellefh veehfeegvdffnecuffhomhgrihhnpegsvggttggrthhirdgtohhmnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrthhtvghosegsvggttggr thhirdgtohhm X-ME-Proxy: Feedback-ID: ie60946b7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Nov 2023 11:33:13 -0500 (EST) Message-ID: <0fde7cd8-3913-4552-b67b-9c3670f5a2e6@beccati.com> Date: Tue, 7 Nov 2023 17:33:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: it To: internals@lists.php.net Cc: Thomas Chauchefoin References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Set register_argc_argv to Off by default From: matteo@beccati.com (Matteo Beccati) Hi, Il 07/11/2023 14:13, Kévin Dunglas ha scritto: > This change seems reasonable to me: safer, with little chance of breaking > things, and easy to reverse for the end user by changing a single parameter. /me runs to remove the 16-years old "register_argc_argv = on" check from the web installer of a legacy open source software ;-) Seriously though, I do agree with changing the default. I believe such check was added in a time when it was still common to use the cgi executable to run cli commands and the configuration was shared with mod_php. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/