Howtos - Installing the eAccelerator PHP cache on ApacheIf you are looking for a way to speed up your PHP pages on Apache, this is the software you want to install. Huge performance gains can be had when using this software to precompile and cache your PHP pages, and it is very simple to install. [edit] Installation-- Download the RPM from DAG's repository here to your CentralPointe Server box. --- For CentralPointe Server 3.0, use the rpm built for Fedora Core2. -- Install the software with the following command: rpm -Uvh php-eaccelerator* -- Restart the webserver with the following command: service httpd restart [edit] Configure-- eAccellerator can be configured by changing the values in the /etc/php.d/eaccelerator.ini file and then restarting the httpd service for those changes to take effect. -- Use this reference as a guide to the values and what they do. [edit] Notes-- When using eAccelerator, the most noticable speed increase will be seen on PHP pages that get executed a lot, but the content does not change that often (semi-static data) such as a blogs or forum software. If the PHP code fetches a lot of external or system data (dynamic data), the speed savings will not be as noticable. -- Information on eAccelerator can be found at home page or Sourceforge. eAccelerator is based upon Turck MMCache |
|||
![]() |