eAccelerator install

January 24, 2008 – 17:42

installed eAccelerator on my debian box according to the install instructions on the website.

on Centos and RH machines, there is an eAccelerator package in the repository. Checked and tested. Setup is the same is from source.

when calling php -v from command line I can see eaccelerator is working. When checking phpinfo(); from web I can see eaccelerator module is installed.

Test on moodle on local box:

interesting, after enabling eaccelerator, my site disappeared; seems to be an issue for some early moodle builds. Probably I didn’t compile eaccelerator with these options:

./configure –with-eaccelerator-shared-memory –with-eaccelerator-sessions –with-eaccelerator-content-caching

. Did it, and now in phpinfo, the proper info showed up and worked in moodle.

Test on moodle on dev server:

succes!

Test on client test site:

Now installed on all Moodle servers: eaccelerator on centos:

  • yum install php-devel
  • download and extract package in dir
  • phpize
  • ./configure –with-eaccelerator-shared-memory –with-eaccelerator-sessions –with-eaccelerator-content-caching
  • make
  • make install
  • make test
  • cp /path/to/eaccelerator.ini /etc/php.d/.
  • edit eaccelerator.ini
  • service httpd restart

big succes!

  1. 1 Trackback(s)

  2. Aug 13, 2008: BrnDmp » Blog Archive » problems with eAccelerator

Sorry, comments for this entry are closed at this time.