From 1d430f0cfd576d04903f87a3eb58ef6b5bf87a1f Mon Sep 17 00:00:00 2001 From: Yoan Arnaudov Date: Wed, 10 Dec 2025 11:41:25 +0200 Subject: [PATCH 1/3] Delete APCu Polyfill installation instructions Removed instructions for installing APCu Polyfill for legacy APC PHP extension. Since Symfony 6.4 uses PHP >= 8.1, it's impossible that legacy APC PHP extension to be used? I think this shouldn't exist in Symfony 6.4 config. --- performance.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/performance.rst b/performance.rst index 748bbab7ba7..c932f6e88f6 100644 --- a/performance.rst +++ b/performance.rst @@ -27,14 +27,6 @@ for maximum performance: .. _performance-install-apcu-polyfill: -Install APCu Polyfill if your Server Uses APC -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -If your production server still uses the legacy APC PHP extension instead of -OPcache, install the `APCu Polyfill component`_ in your application to enable -compatibility with `APCu PHP functions`_ and unlock support for advanced Symfony -features, such as the APCu Cache adapter. - .. _performance-enabled-locales: Restrict the Number of Locales Enabled in the Application From 9ed8232856e47dd2863243f327a0ca23d910c0ce Mon Sep 17 00:00:00 2001 From: Yoan Arnaudov Date: Wed, 10 Dec 2025 11:46:49 +0200 Subject: [PATCH 2/3] Update performance checklist by removing APCu Polyfill Removed reference to APCu Polyfill from performance checklist. --- performance.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/performance.rst b/performance.rst index c932f6e88f6..a16f014067d 100644 --- a/performance.rst +++ b/performance.rst @@ -13,7 +13,6 @@ for maximum performance: * **Symfony Application Checklist**: - #. :ref:`Install APCu Polyfill if your server uses APC ` #. :ref:`Restrict the number of locales enabled in the application ` * **Production Server Checklist**: @@ -25,8 +24,6 @@ for maximum performance: #. :ref:`Configure the PHP realpath Cache ` #. :ref:`Optimize Composer Autoloader ` -.. _performance-install-apcu-polyfill: - .. _performance-enabled-locales: Restrict the Number of Locales Enabled in the Application @@ -390,7 +387,6 @@ Learn more .. _`byte code caches`: https://en.wikipedia.org/wiki/List_of_PHP_accelerators .. _`OPcache`: https://www.php.net/manual/en/book.opcache.php .. _`Composer's autoloader optimization`: https://getcomposer.org/doc/articles/autoloader-optimization.md -.. _`APCu Polyfill component`: https://github.com/symfony/polyfill-apcu .. _`APCu PHP functions`: https://www.php.net/manual/en/ref.apcu.php .. _`cachetool`: https://github.com/gordalina/cachetool .. _`open_basedir`: https://www.php.net/manual/ini.core.php#ini.open-basedir From c17bcd7138f14cc57db0a17ddd2744d9349de658 Mon Sep 17 00:00:00 2001 From: Yoan Arnaudov Date: Wed, 10 Dec 2025 11:49:23 +0200 Subject: [PATCH 3/3] Remove APCu PHP functions link from performance.rst Removed link to APCu PHP functions documentation. --- performance.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/performance.rst b/performance.rst index a16f014067d..dca6d7d4712 100644 --- a/performance.rst +++ b/performance.rst @@ -387,7 +387,6 @@ Learn more .. _`byte code caches`: https://en.wikipedia.org/wiki/List_of_PHP_accelerators .. _`OPcache`: https://www.php.net/manual/en/book.opcache.php .. _`Composer's autoloader optimization`: https://getcomposer.org/doc/articles/autoloader-optimization.md -.. _`APCu PHP functions`: https://www.php.net/manual/en/ref.apcu.php .. _`cachetool`: https://github.com/gordalina/cachetool .. _`open_basedir`: https://www.php.net/manual/ini.core.php#ini.open-basedir .. _`Blackfire`: https://blackfire.io/docs/introduction?utm_source=symfony&utm_medium=symfonycom_docs&utm_campaign=performance