Thread: opcache
View Single Post
  #4  
Old 6th July 2016, 07:49
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,242
Default
#1 apt-get install -y php-pear
#2 apt-get install -y build-essential php5-dev
#3 pecl install zendopcache-7.0.5
#4 nano /etc/php5/mods-available/opcache.ini

Quote:
zend_extension=/usr/lib/php5/20100525/opcache.so
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
#5 php5enmod opcache
#6 service apache2 restart
#7 php -v [see if it got installed]
#8 apt-get remove --purge build-essential php5-dev
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote