October 13, 2003
PHP Accelerator installed
Tags: E-Mail , KE

I installed PHP Accelerator on KE in the hopes of keeping SquirrelMail from stomping on the CPU too much. So far it seems to be working well.

Installing the accelerator involves downloading the source file (I used php_accelerator-1.3.3r2_php-4.3.0_freebsd_i386-4.5), installing the shared library, editing the php.ini file, and restarting Apache.

I saved the shared library as /usr/local/lib/php_accelerator_1.3.3r2.so.

I added the following lines to php.ini:

  • zend_extension = /usr/local/lib/php_accelerator_1.3.3r2.so
  • phpa.cache_dir = /tmp/phpa

I created the directory /tmp/phpa to store the cache files. I changed the owner to www and made it mode 0700.

SquirrelMail seems to be working well, and the load average seems to be hovering in the 1-3 range at the moment.

Posted by Rowan Littell at October 13, 2003 01:46 PM
Comments
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?