Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: Paperguides on March 09, 2014, 07:14:56 PM
-
I cannot find any information on the installation of php accelerators on SME Version 8. Is this possible, if so how. Is it desirable/necessary?
Tony
-
hi,
Is it desirable/necessary?
It depends of what you want to do and if you know what to do with it ! :lol:
First method : with epel repo
yum --enablerepo=epel info php-eaccelerator
yum --enablerepo=epel install php-eaccelerator
php -v
Second method : with sources from http://eaccelerator.net or https://github.com/eaccelerator/eaccelerator
you download, you unzip or untar and of course you read the README file !!!!!
phpize
./configure --enable-eaccelerator=shared --with-php-config=/usr/bin/php-config && make && make install
If you know what to do then you can tweak the "/etc/php.d/eaccelerator.ini" and "/proc/sys/kernel/shmmax"
else don't even try and go to read a good cook book on PHP code caching or on compiling PHP code ! :lol:
--/--