Web Hosting Forum Login
Not a member yet?

The #1 Web Hosting Forum, Reviews & Services

  • FORUMS
  • WEB DESIGN
  • WEB HOSTING OFFERS
  • ADVERTISING
  • REQUEST A HOST
  • WEB HOSTING
  • QUICK MENU
  • REGISTER HERE - Join us for FREE

Installing php OpCache with CustomBuild 2.0

Rate this Entry
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:
Code:
cd /usr/local/directadmin/custombuild
./build set opcache yes
./build opcache
After you installed, you can check if Zend Opcache is working or not by using php-v

[[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
or create a PHP file with the command

Code:
<?php 

phpinfo();

?>
Run it on your web browser if you see this then it is working.

Name:  zend-opcache.png
Views: 75
Size:  36.0 KB

Good luck!
Tags: None Add / Edit Tags
Categories
Web Hosting , Virtual Private Servers

Comments

Web Hosting Forum

ForumWeb.Hosting is a web hosting forum where you’ll find in-depth discussions and resources to help you find the best hosting providers for your websites or how to manage your hosting whether you are new or experienced. You’ll find it all here. With topics ranging from web hosting, internet marketing, search engine optimization, social networking, make money online, affiliate marketing as well as hands-on technical support for web design, programming and more. We are a growing community of like-minded people that is keen to help and support each other with ambitions and online endeavors. Learn and grow, make friends and contacts for life.

Community

The world's smartest hosting providers come here to discuss & share what's trending in the web hosting world!
Copyright ©2017, ForumWeb.Hosting. All rights reserved. Web Hosting Forum for webmasters, web hosting providers, designers and web developers.

Welcome to Forum Web Hosting

The World's Number 1 Web Hosting Community, Reviews & Services

Log in!

Continue with Facebook
Continue With Email. By signing up you indicate that you have read and agree to the Terms of Service and Privacy Policy.

Sign in Manually

Need an account? Sign up now!