Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127462 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 48A771A00BC for ; Mon, 26 May 2025 14:56:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1748271274; bh=YiXXMYCOW1gr2NGPl4NK09wYo6/vXgaDd2Rn9JmZfXA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=CKBFE+oOAz7RqX3Low9wOdxurhym8wxOph4X7XSMcoo/R2i86BIsNQzWevccjHPoZ iMqdy3g82+BNNYhsd0pOePFBlHOl9euQ8fmaxgwl4QfI7OugE0gkSldDBFcMzUi8NJ rUvKchxj8TaXOYWaUJEab1dm1IwnJPvxVwBf2kyNWU0F32mE4CfZ/KxbpqaW6sLl1b Dqr8vVLHaM0+XCg3o+RatApxSkFH8jopNtOHFkpEU9/A9QwepEK/hBu6A9f6W1Zcaq xZuFqVWpn1ovhrj8LzLWjxdmyIBvBR4DuCmB0qIwLS+s53843HljBm1+nxmfEZR/7o bDD3cIdldZdFA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4BFA11804D5 for ; Mon, 26 May 2025 14:54:34 +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=-1.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (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 ; Mon, 26 May 2025 14:54:34 +0000 (UTC) Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-7c5a3334fddso47774585a.1 for ; Mon, 26 May 2025 07:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748271400; x=1748876200; 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=YiXXMYCOW1gr2NGPl4NK09wYo6/vXgaDd2Rn9JmZfXA=; b=BDO+1On8Fy6rXfEocbUEqX0b7ZJ2+FSnvmX46TFZWorIZhC3EY7CUjHQalamI0cJKn nanG2hjjlGswiXF8M/3tclrpiJcHmWMG6pncud+Gxm4jbrVFHKkzRKcwQ2VY0uCnJbwo Sa30IslTSgCVro/ZHcLBzC8w5acz9XIvfeCUar3kjaCgzab3uuHMzaz1s4siHNYyUVqn Mx4QK/KkmRh4PrslmM86K8Vat1LTuVGkbF/5ia2FI7oWKs7lC2yIA/T2XHfyMi1ANvyY jBGemFKjjgWAXQGlMlrY7vJIia0Z+GzOQn9NSG30y2sDMa0YRyf1yauLhdEZkj6M28RX 1f2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748271400; x=1748876200; 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=YiXXMYCOW1gr2NGPl4NK09wYo6/vXgaDd2Rn9JmZfXA=; b=FEEtjUv5ExlX08U3bl6PIRf0nNSFnshUYmC+g1TOKn1dRU2ZbrqCS5uIIOUIMpzKVl zPcXPBu4wTXNDVXR9oLwnvz/IehJhzH1SYc9UPChMnPEhyr7dp4H1uqle3LyDxd3RnKt 2wVC8TsgmOnToAQZvoK8GFrZtWUj4zVyvyzbEU8kDBYxOXM2TDvKYHY+eyT3delQBXKw DclOEaoUhWoAFMQZ8q4lAawQ9tEn+OMyDhAYQU+3noqaFH4LyeaqmADNbIZUWQTsCkLN U/2j1bHIfOZD7MiafDQkuQeWhN452q8DYU9zOjCEY+gs/92bdggzIMBi9/Vj32wjl1sh Q0fQ== X-Gm-Message-State: AOJu0YydLC55U5PtyMEERuSd+HGWmhjyUHMnBdL0SMpgkSu2RAMj4Aj6 CEpFV/cew7D/cQ83ECtxu6v6wAFZXwh8uLRkSyG3GMf8pvt9NsjcGbxb1fwmBFMOR2KGqIkEd1G K5a2YMpoQP6jGGKfNnp0/0WBJwn2cZueugw== X-Gm-Gg: ASbGnctsaKf0z7uu7TMvvEfU/TngGRW/H+eklrWKKhx30Z5W1eNvVX+XmohjA9nsUOt f7IBMtAbOFGEDhnBOs59dLjAlGNJN8jisYxcKerba5YbeTV7mexmY1FKOvxSvE0EFd7AHu5IfOx EVtwivjAKi7HiYDtKwZSYWShwTbbnlEXKOZvzetRcZARSWQmYS1B6yquh7Pxiu/w== X-Google-Smtp-Source: AGHT+IFnh4jiIV5AR7V2mlVe/kxoU0V76HiVOUZV8zSSZAiiDVdpxINZ6AeuB3XZ0NHKYyam7jd0KdwtsyIBJ3Q/43o= X-Received: by 2002:a17:90a:e7ce:b0:308:7a70:2be9 with SMTP id 98e67ed59e1d1-31111f3be78mr5978497a91.8.1748271003355; Mon, 26 May 2025 07:50:03 -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> In-Reply-To: <7bdbd839b20d233e26e7901ae093ce1b@bastelstu.be> Date: Mon, 26 May 2025 16:49:52 +0200 X-Gm-Features: AX0GCFt61vLcOPUs5URFh1Jc_fcOny4XNZSASznnVr2q97Nhgd5rnSKCfe0qAyc Message-ID: Subject: Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: php internals , Ilija Tovilo , Arnaud Le Blanc Content-Type: multipart/alternative; boundary="000000000000204dbc06360b107c" From: paresy@gmail.com (Michael Maroszek) --000000000000204dbc06360b107c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I really like the idea. We use the Embed SAPI statically linked and at the moment we need to take great care to bundle the OPcache extension. This will make it a lot easier for us. A big +1 from my point of view! Regards, Michael Tim D=C3=BCsterhus schrieb am Mo. 26. Mai 2025 um 12:49: > Hi > > Arnaud, Ilija and I would like to propose making OPcache a non-optional > part of PHP starting with PHP 8.5. > > Please find the RFC including more details at: > https://wiki.php.net/rfc/make_opcache_required > > As of now OPcache cannot be statically compiled into the PHP binary at > all, which is the direct opposite from what we are proposing. This is > due to an incompatibility between JIT and ZTS builds. Arnaud has > prepared a proof-of-concept implementation fixing this issue at: > https://github.com/php/php-src/pull/18660. The changes in that PR would > also allow building static PHP binaries with OPcache enabled in the > first place (e.g. for use with FrankenPHP). > > Best regards > Tim D=C3=BCsterhus > --000000000000204dbc06360b107c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I really like the idea. We use the Embed SAPI statically = linked and at the moment we need to take great care to bundle the OPcache e= xtension. This will make it a lot easier for us. A big +1 from my point of = view!

Regards,
Michael

Tim D=C3=BCsterhus <tim@bastelstu.be> schrieb am Mo. 26.= Mai 2025 um 12:49:
Hi

Arnaud, Ilija and I would like to propose making OPcache a non-optional part of PHP starting with PHP 8.5.

Please find the RFC including more details at:
https://wiki.php.net/rfc/make_opcache_required

As of now OPcache cannot be statically compiled into the PHP binary at
all, which is the direct opposite from what we are proposing. This is
due to an incompatibility between JIT and ZTS builds. Arnaud has
prepared a proof-of-concept implementation fixing this issue at:
https://github.com/php/php-src/pull/18660. The changes = in that PR would
also allow building static PHP binaries with OPcache enabled in the
first place (e.g. for use with FrankenPHP).

Best regards
Tim D=C3=BCsterhus
--000000000000204dbc06360b107c--