Installing php OpCache with CustomBuild 2.0
Zend Opcache - A technique to speed up your PHP codes on your hosting server, it works similar to APC but because APC has not updated for a long time so I did not recommend to install it here. Moreover, Opcache have faster speed than APC.
But if i you are using php 5.3, 5.4, 5.5 or 5.6 on Directadmin when you install Zend OPcache, you can have problems with installations, just switch to CustomBuild 2.0 to install Zend Opcache and it is easy in some steps as following.
To install it with CustomBuild 2.0, type:
After you installed, you can check if Zend Opcache is working or not by using php-vCode:cd /usr/local/directadmin/custombuild ./build set opcache yes ./build opcache
or create a PHP file with the command[[email protected]~]# php-v
PHP 5.5.36 (cli) (built: Jun 24 2016 04:55:31)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
Run it on your web browser if you see this then it is working.Code:<?php phpinfo(); ?>