Open anstrem opened 7 years ago
Centos 6
/etc/php.d/opcache.ini
zend_extension = /usr/lib64/php/modules/opcache.so opcache.enable = 1 opcache.enable_cli = 1 opcache.memory_consumption = 400 opcache.interned_strings_buffer = 8 opcache.max_accelerated_files = 10000 opcache.max_wasted_percentage = 5 opcache.use_cwd = 1 opcache.validate_timestamps = 1 opcache.revalidate_freq = 0 opcache.fast_shutdown = 1 opcache.file_update_protection = 10
With php -v I see:
PHP 5.4.45 (cli) (built: Sep 19 2016 15:31:07) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies
But in any opcache-gui I see:
You do not have the Zend OPcache extension loaded, sample data is being shown instead.
So opcache works for me or not? And if not, what to do?
Centos 6
/etc/php.d/opcache.ini
With php -v I see:
PHP 5.4.45 (cli) (built: Sep 19 2016 15:31:07) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies
But in any opcache-gui I see:
You do not have the Zend OPcache extension loaded, sample data is being shown instead.![opcache](https://cloud.githubusercontent.com/assets/25752803/22899918/98290418-f23d-11e6-8561-d46e1dfd25fb.jpg)
So opcache works for me or not? And if not, what to do?