Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127459 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 E5D271A00BC for ; Mon, 26 May 2025 10:47:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1748256297; bh=E6TX75iGSTkyGNIH+Xn80SAuhSZafpECJ+zHo77u26I=; h=Date:From:To:Subject:From; b=n0Wv08wq74hxDFhE+0cfP1G1J8W3PV16XqqaWLh6YDWZDLnLEfwyhV1rKWEhEku8D /5oGAMZMQvDkgbtSp78j0Yv6dZK1p+jl56ZAgrW++T4Aa0ssaVkrySwvFXZJ1qPpLt 5dU6V2EKGb5McUkd/lHpjV/xLe4XcAB9qeOBulC/aHv5yj9FZKIKzBMcbYpzIr2BR8 y//XhLQtOEJtDa2wWZjBVzsnPi/eoCynOXdM+1GhLXLmyfwK9zXwBtvK4K+JTQocY1 KC/xnWQ6Ez2KpXwlScWdDv2hMAAIgJiKbxqbQsiOy380vCesulOFvtC5nLMhdXFO/y cHhTUka6dI7DA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AE36218006A for ; Mon, 26 May 2025 10:44:56 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,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 chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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 10:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1748256420; bh=55FE/dQju+RV3U9wCrVCrcIAAuAhgb/3OsoEAmk6siU=; h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type:from:to: cc:subject:message-id; b=S00IrAU9Hj9xlUbXiVY70STmPfZx8Ep6kbs9dIo+U6FsnWhpoO5V2us6BC7PSkugG 2xvR+6rWY9HlAk3+S6o04CMIH3j4Vv2xxrk5oK+sD8rB7ViK96si1IgfGQBiyeueBQ lE/uCgESTG2/WsW4HyaYRdOusm619ALYDMIDC1tFBzEI1ZIQ62bLOwawGhMx9TvUts IG2YPhO/Oa5eiNXdi4Tq+xuK0m/e+eTLRE2gg/lS4OE+W3dVkbHphNIYYsANv0pZ0d FnRhXNZ48zxleZfs6SpExXLcaeNuE6wVtpjc3ZB8NlfzcfHfyAWxRjfEBtrTuEj5NZ eeaB0NcofPwPA== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 26 May 2025 12:47:00 +0200 To: php internals , Ilija Tovilo , Arnaud Le Blanc Subject: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP Message-ID: <7bdbd839b20d233e26e7901ae093ce1b@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) 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üsterhus