When the APCu extension is present but not enabled, an error is thrown in the ContainerBuilder.
Reproduction steps
Have apcu extension but not enabled (?)
Attempt to use the pdk
Get error
Relevant log output
Fatal error: Uncaught Exception: APCu is not enabled, PHP-DI cannot use it as a cache in /xxx/vendor/php-di/php-di/src/ContainerBuilder.php:138
Stack trace:
#0 /xxx/pdk/src/Base/Factory/PdkFactory.php(88): MyParcelNL\DI\ContainerBuilder->build()
#1 /xxx/pdk/src/Base/Factory/PdkFactory.php(34): MyParcelNL\Pdk\Base\Factory\PdkFactory->setupContainer()
#2 /xxx/pdk/src/Base/PdkBootstrapper.php(57): MyParcelNL\Pdk\Base\Factory\PdkFactory::create()
#3 /xxx/pdk/src/Base/PdkBootstrapper.php(41): MyParcelNL\Pdk\Base\PdkBootstrapper->createPdkInstance()
// Rest of the stack trace omitted
thrown in /xxx/vendor/php-di/php-di/src/ContainerBuilder.php on line 138
What went wrong?
When the APCu extension is present but not enabled, an error is thrown in the ContainerBuilder.
Reproduction steps
Relevant log output