Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127497 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id DBDA01A00BC for ; Wed, 28 May 2025 14:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1748442245; bh=qWKMouMpGoWLvmBRe5JPiAhUvPjYcV4YzbaB4SomUjo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iDrnpb5BPSNCi8pF0Se9Isdb+0WYL2S6S2kXrYnh0+JBsOBkSVHPKWnFuBAp+YKJ5 pWn92wEDdIuzYwY6ly0CjmuFJu1hMckFDDowBxeomwxd3CVxPEyO1s7/s3eiPL9Z1U fPhSa3cTUdjj2VXKcjWT8xah5oZguK8TK2az6WLoBXS5wWxyLoW4c2g0IwFTTAytwy BxbAH8Ftwp6y8I4LgYogBjngv/n47KVPhr3bJi9wLuM4sdD976BLWr4RldGjRc4ENr AEuvEn/BrUQR666V07ErZWQwa90n/tFcC8d0HWLifQ9sMRF4EB16KfVnbeOvcOy+7C DpBuuUMd2sheA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 96441180087 for ; Wed, 28 May 2025 14:24:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 28 May 2025 14:24:03 +0000 (UTC) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-ad5574b59c0so834514166b.2 for ; Wed, 28 May 2025 07:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tideways-gmbh.com; s=google; t=1748442368; x=1749047168; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gWhciVtBjJWj4+xKbDpJqft5kcQZf5kDSTcsvcIefMg=; b=aC8HY9WnUMRTefo/MfDspZdgqwEqr0TZyqCdAouKKoTvgYPs3s7BViUUaU8vomrOEO mJRlP3BtyvMi7bqMiiUyq/prLPbz2BvdYUUqwKCLQqe3eZXe1UB/zopH6339uXc0MbhD k2wQ24q2ZawUXF3y+zvxlMq90gSfiMosj5fwhHMgcNC8s64VkU5FvBcU13/+aJlI9UgV g01R3yvOWHRzTWOgt7Nm9ZFM+Ui8RiUq9TEl6Ksfk3H3Te9bJEiDjwOgYwFQgVvNZxCZ ee1T8D1yXXlH3VLed/n4qwt98Hc0TY3JCmuYOnv/2GARwsEje3PnxBkOewK6L20QVPSm LK/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748442368; x=1749047168; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gWhciVtBjJWj4+xKbDpJqft5kcQZf5kDSTcsvcIefMg=; b=swnHpcUyBWoR9ML1+wFb7PdTkL8uxvRFCCYzyYRW8GGgara6lVrHpT04MOYnrsVQ/7 72h+fQhuJ6+l01kiCvqL+AnGZ793dtGvLTi6bAIGtmRL/DgHIeV2UCMedN2L9f9v4m+P BUi1usN/pkWx7RXrbHk3cMGXPy0fbJkRyEXUDMJaJ5+NHchjTcy7XEaX6j2ny9U9TuSN VlqvsRCkijZo9TxGLfmvP7+9avjr0keSLsMXW/SmPhPoTDax4oT36VmxpK+hgOw4A/Yg klBt2oZ3K5rZamhUVHYADQTsnV4MX+c74KBf/wtZd25M+sHAF6d8UWnDfiI7lJ3qYyVL PFuQ== X-Gm-Message-State: AOJu0YyM3tzPbzRKP7zSlvVZ/rhA+7+ZEWfMgxhObFI8EdlJXKOHq1BC XCC9xfKfIoBDlfLqPKwr6q1NBiQ5aB82ydyDIB4Je81WMffY6YF27jvFxM4y2wbxXCc8l89JMG3 X5U+U4U1XBak+1uZsbiyAVGP66TC+26tsmx+IhYYfxFjQtji65c7KIoY= X-Gm-Gg: ASbGnctBgbb0ncRf+RSKwEOo+qOcFzeHe06rrL9Iz55N7GmBMoG4A5uW302m4DBYYa1 2Y4vCJwSFtGjTmSKqJCTaEvSY/Kll/rv7UDgxY1smdvH4U30jLCfxAV6RdgDQ5LLtiHiBkp7heS UQse2SZ33A9f7OxpjVEHfSoJdsz/mH3RbCzME3KJIFT9REUR02jLzEprsCxG1fBjk= X-Google-Smtp-Source: AGHT+IGybMO6uG/gLsFs6D/MaEv8HmyiiIZLM8QSgFd2/X3d/d5y3dkrgPR/ZuzWu5V7u5v7aUnprSt4axptboCWV14= X-Received: by 2002:a17:907:3ea9:b0:ad1:77aa:503 with SMTP id a640c23a62f3a-ad85b14e1b7mr1843396766b.36.1748442368223; Wed, 28 May 2025 07:26:08 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <7bdbd839b20d233e26e7901ae093ce1b@bastelstu.be> <20250527164726.0B5181A00BD@lists.php.net> In-Reply-To: <20250527164726.0B5181A00BD@lists.php.net> Date: Wed, 28 May 2025 16:25:57 +0200 X-Gm-Features: AX0GCFuJRudy2YHPC9bOyZlSUMeJ4FLO-gksTTDPQVcNd37REvRopDWLyrul6iY Message-ID: Subject: Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP To: Ben Ramsey Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000044c5e7063632f631" From: volker@tideways-gmbh.com (Volker Dusch) --00000000000044c5e7063632f631 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 27, 2025 at 6:48=E2=80=AFPM Ben Ramsey wrote: > > `zend_extension=3Dopcache` will need to be removed from a user=E2=80= =99s php.ini > > configuration > > Is this really a *need*, or is it more of a recommendation? If it's left > in a user's configuration, what is the impact? > For people installing PHP from .deb or .rpm sources this shouldn't be an issue either way as the package managers would take care of that (no more opcache extension, no opcache.ini). For the rest, and to avoid a lot of startup warnings we could consider to explicitly ignore loading of a zend_extension=3Dopcache? Technically this should be easy but the question is if this is sensible. People *could* have an custom extension named opcache.so that does something else, but that feels very unlikely. Otherwise, massive fan of the RFC. Having opcache as a given (even if deactivated) will make it a lot easier to get people to use it and reduce friction. Kind Regards, Volker --=20 Volker Dusch Head of Engineering Tideways GmbH K=C3=B6nigswinterer Str. 116 53227 Bonn https://tideways.io/imprint Sitz der Gesellschaft: Bonn Gesch=C3=A4ftsf=C3=BChrer: Benjamin Au=C3=9Fenhofer (geb. Eberlei) Registergericht: Amtsgericht Bonn, HRB 22127 --00000000000044c5e7063632f631 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, May 27, 2025 at 6:48=E2=80=AFPM B= en Ramsey <ramsey@php.net> wrot= e:
=C2=A0> `zend_extension=3Dopcache` will need to be removed from a user= =E2=80=99s php.ini
=C2=A0> configuration

Is this really a *need*, or is it more of a recommendation? If it's lef= t
in a user's configuration, what is the impact?
For people installing PHP from .deb or .rpm sources this should= n't be an issue either way as the package managers would take care of t= hat (no more opcache extension, no opcache.ini).

F= or the rest, and to avoid a lot of startup warnings we could consider to ex= plicitly ignore loading of a zend_extension=3Dopcache? Technically this sho= uld be easy but the question is if this is sensible.
People *coul= d* have an custom extension named opcache.so that does something else, but = that feels very unlikely.

Otherwise, massive fan o= f the RFC. Having opcache as a given (even if deactivated) will make it a l= ot easier to get people to use it and reduce friction.

=
Kind Regards,
Volker

--
Volker Dusch
Head of= Engineering
Tideways GmbH
K=C3=B6nigswinterer St= r. 116
53227 Bonn

Sitz der Gesellschaft: Bonn
Gesch=C3=A4ftsf=C3=BChrer: Benjamin Au=C3=9Fenhofer (geb. Eberlei)
Registergericht: Amtsgericht Bonn, HRB 22127
--00000000000044c5e7063632f631--