Current Document and Section   Other Documents  
  - Documentation
    - Howtos
  User Guide
DNS and Domains
Gateway Services Guide
Release Notes
 
 

Howtos - Installing the eAccelerator PHP cache on Apache

Warning! 
 

This document is either no longer maintained or deprecated.  Use with caution!

 
 


Contents

[edit] Intro

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's really easy to install!

[edit] Installation

-- Download the RPM for from DAG's repository here to your ClarkConnect box.

--- For ClarkConnect 3.0, use the rpm built for Fedora Core2.
--- For ClarkConnect 3.1 & 3.2, use the rpm built for Red Hat EL 4

-- 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 doesn't 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 won't be as noticable.

-- Info on eAccelerator can be found at it's home page or Sourceforge.

-- eAccelerator is based upon Turck MMCache

Retrieved from "http://www.clarkconnect.com/docs/Howtos_-_Installing_the_eAccelerator_PHP_cache_on_Apache"

This page has been accessed 638 times. This page was last modified 22:48, 24 April 2007.