Zend Opcache is an open source component of Zend Server and Zend Server Community Edition. Zend Opcache speeds up PHP execution by opcode caching and optimization. It stores precompiled script bytecode in shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. For further performance improvements, the stored bytecode is optimized for faster execution. Unlike Zend Optimizer, Zend Opcache doesn’t load files encoded by Zend Guard. Zend provides another component, Zend Guard Loader, in order to load encoded applications with Zend Server and Zend Server Community Edition.
Zend Optimizer+ was renamed to Zend Opcache mid of March 2013.
Starting with PHP 5.5 the Zend Opcache is integrated and shipped with PHP.
PHP version: full support for PHP 5.2+
Latest stable version: 7.0.2
Status: Actively maintained
Continue reading “Zend Opcache is a Must Have extension of PHP”
I moved one phpBB forum to a VPS. All fresh.
I have Apache installed and MySQL. phpBB 3 relay on them.
Because of the size of forum, about 500K posts, 1000 users, the forum is not as fast as I think.
I have to do something to improve the performance of it. I still remember that some opcode optimizer can help.
Continue reading “Zend Optimizer and Xcache make phpBB 3 faster”
Now PHP 5.2.3 is installed on Dreamhost. If you don’t know how to do it, just refer to my previous post, Install customized PHP5 on Dreamhost.
Let us see how to add Zend Optimizer support on your own PHP installation.
1) Go to Zend official site. http://www.zend.com/
2) Find and download the Zend Optimizer 3.3. You may need sign an account to download it. To install it on Dreamhost, you may choose Linux x86 (32bit) (TAR.GZ) | 9.74MB | 3.3.3 package.
3) I suggest to download it through SSH.
4) Decompress it.
tar xvfz ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
6) We use complied ZendOptimizer so file.
7) There are two files.
ZendOptimizer.so is the complied file.
8) Copy this file to the PHP installation folder.
cp ZendOptimizer.so ~/jiuan4/php5/lib/php/
Now ZendOptimizer 3.3.3 installation finished.
9) To enable ZendOptimizer, you need to edit your domain’s php.ini file.
10) Edit php.ini file.
Continue reading “Install Zend Optimizer 3.3 on Customized PHP 5.2.3”