FS#64286 - [php] OPcache optimization is disabled
Attached to Project:
Arch Linux
Opened by Dimos Dimoulis (dimosd) - Sunday, 27 October 2019, 16:32 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 01 December 2019, 12:40 GMT
Opened by Dimos Dimoulis (dimosd) - Sunday, 27 October 2019, 16:32 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 01 December 2019, 12:40 GMT
|
Details
I am using php-fpm with nginx. I have enabled OPcache in
/etc/php/php.ini with these settings:
zend_extension=opcache opcache.enable=1 opcache.optimization_level=0x7FFFBFFF phpinfo() says that OPcache is "up and running" but optimization is "disabled". Furthermore the local value of opcache.optimization_level is reported as 0. |
This task depends upon
Here's my environment:
CentOS Linux release 8.0.1905 (Core)
Apache/2.4.37 (centos)
PHP 7.3.11 (cli) (built: Oct 22 2019 08:11:04) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.11, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.7.2, Copyright (c) 2002-2019, by Derick Rethans
However, xdebug extension "was" loaded after opcache.