How to install ZendOpcache on CentOS?
The Zend OpCache provides faster PHP execution through opcode caching and optimization. It improves PHP performance by storing precompiled script bytecode in the shared memory. This extension is bind with PHP 5.5 and higher version. But, for PHP Versions 5.2, 5.3 and 5.4 it can be installed manually using PECL installer.Fist check the release version of your server -
Download ZendOpcache and Install -
tar xvfz ZendOpcache
Go to ZendOpcache directory and run the installer script -cd zendopcache-7.0.5/
make installA successful installation will create "opcache.so" file into the PHP extensions directory. Copy the location path of opcache.so file and put it into php.ini file. Paste below code in php.ini file -
opcache.fast_shutdown=1Save the file and check using php -v. This should show you that Zend OPcache is enabled.
PHP 5.4.45 (cli) (built: Oct 1 2015 19:20:34)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies
Was this answer helpful?
Finding the username from provided hosting service name - /script/whoowns domain_name Finding...
1. Check the hostname is setup or not - hostname 2. Check the IP address is assigned to hostname...
1. REMOVE MAILS BY ID - /usr/sbin/exim -v -Mrm (MAIL ID HERE) 2. LIST QUEUED MAILS -...
If you don't want to setup to a full monitoring solution such as Nagios you can create your own...
A Point-To-Point Tunneling Protocol (PPTP) allows you to implement your own VPN very quickly, and...
Powered by WHMCompleteSolution