2016-04-10 02:38:07 -05:00
|
|
|
<?php
|
2019-10-05 10:26:10 -05:00
|
|
|
|
2017-10-12 03:13:20 -05:00
|
|
|
declare(strict_types=1);
|
2016-04-10 02:38:07 -05:00
|
|
|
|
2020-01-01 14:11:53 -06:00
|
|
|
use Laminas\ConfigAggregator\ConfigAggregator;
|
2018-11-18 09:02:52 -06:00
|
|
|
|
2016-04-10 02:38:07 -05:00
|
|
|
return [
|
|
|
|
|
2016-07-19 11:32:59 -05:00
|
|
|
'debug' => false,
|
2020-11-22 03:24:06 -06:00
|
|
|
|
2022-09-11 03:45:03 -05:00
|
|
|
// Disabling config cache for cli, ensures it's never used for openswoole/RoadRunner, and also that console
|
|
|
|
// commands don't generate a cache file that's then used by php-fpm web executions
|
2020-11-22 03:24:06 -06:00
|
|
|
ConfigAggregator::ENABLE_CACHE => PHP_SAPI !== 'cli',
|
2016-04-10 02:38:07 -05:00
|
|
|
|
|
|
|
];
|