I am trying to set up PHP 8.2 with APCu extension on Windows.
However, it seems that PHP 8.2 compatibility was only added to the latest APCu version 5.1.22 (released 2022-09-19), and the corresponding php_apcu.dll
file is missing - I cannot find it at neither location:
- https://windows.php.net/downloads/pecl/releases/apcu/
- https://pecl.php.net/package/APCu/5.1.22/windows
When I try using the previous APCu version 5.1.21, I get the following error:
PHP Warning: PHP Startup: apcu: Unable to initialize module
Module compiled with module API=20210902
PHP compiled with module API=20220829
These options need to match
Should I downgrade my PHP installation to 8.1.x then?