According to this article, http://duntuk.com/enable-zend-opcache-php-55-or-install-zendopcache-php-53-or-php-54
When you type php -v it supposed to show the following;
PHP 5.5.8 (cli) (built: Jan 12 2014 20:27:27)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
But after enabling opcache in options.conf my php -v output does not show;
with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
How can I tell if its enabled?
After enabling opcache was I supposed to recompile php?
Where is the opcache.ini file supposed to be located for php 55?
I have many instances;
/opt/alt/php52/etc/php.d.all/opcache.ini
/opt/alt/php53/etc/php.d.all/opcache.ini
/opt/alt/php54/etc/php.d.all/opcache.ini
/opt/alt/php55/etc/php.d.all/opcache.ini
/opt/alt/php56/etc/php.d.all/opcache.ini
/usr/local/directadmin/custombuild/configure/opcache/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php52/etc/php.d.all/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php53/etc/php.d.all/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php54/etc/php.d.all/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php55/etc/php.d.all/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php56/etc/php.d.all/opcache.ini
Is it /opt/alt/php55/etc/php.d.all/opcache.ini?
If so, why does this file only contain one line?
; Enable opcache extension module
zend_extension=/opt/alt/php55/usr/lib64/php/modules/opcache.so
Where can I add;
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
In the same file? Howcome none of this is included already in the file?
Thanks
When you type php -v it supposed to show the following;
PHP 5.5.8 (cli) (built: Jan 12 2014 20:27:27)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
But after enabling opcache in options.conf my php -v output does not show;
with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
How can I tell if its enabled?
After enabling opcache was I supposed to recompile php?
Where is the opcache.ini file supposed to be located for php 55?
I have many instances;
/opt/alt/php52/etc/php.d.all/opcache.ini
/opt/alt/php53/etc/php.d.all/opcache.ini
/opt/alt/php54/etc/php.d.all/opcache.ini
/opt/alt/php55/etc/php.d.all/opcache.ini
/opt/alt/php56/etc/php.d.all/opcache.ini
/usr/local/directadmin/custombuild/configure/opcache/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php52/etc/php.d.all/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php53/etc/php.d.all/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php54/etc/php.d.all/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php55/etc/php.d.all/opcache.ini
/usr/share/cagefs-skeleton/opt/alt/php56/etc/php.d.all/opcache.ini
Is it /opt/alt/php55/etc/php.d.all/opcache.ini?
If so, why does this file only contain one line?
; Enable opcache extension module
zend_extension=/opt/alt/php55/usr/lib64/php/modules/opcache.so
Where can I add;
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
In the same file? Howcome none of this is included already in the file?
Thanks