heihachi88
7/7/2014 - 7:37 AM

VestaCP update to php 5.5 from 5.4

VestaCP update to php 5.5 from 5.4

service httpd stop
yum -y remove php

# open /etc/yum.repos.d/remi.repo and add 1 beside enabled for both [remi] and [remi-php55]

yum -y install php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-soap php-tidy php-xml php-xmlrpc php-pecl-apc phpMyAdmin roundcubemail php-opcache

sudo mv /etc/httpd/conf.d/roundcubemail.conf.rpmsave /etc/httpd/conf.d/roundcubemail.conf
# revert old roundcube apache config

service httpd start

# OPcache GUI - place it within your website public_html
wget https://raw.github.com/rlerdorf/opcache-status/master/opcache.php

# OPcache config
vi /etc/php.d/opcache.ini

# optimal settings
zend_extension=opcache.so
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=256
opcache.max_accelerated_files=10000
opcache.revalidate_freq=60
opcache.fast_shutdown=1