Mr. Reverend Greed,
My name is Stacy and I am with a web hosting company called Hosting Matters. One of our clients as shown in this forum thread sought assistance regarding the program, eAccelerator. This issue at hand has become extremely long-winded, so as a courtesy I took the advice of our client to review this thread.
Nice to meet you, Stacy. And you did the right thing.
I have to be honest in saying that I felt a little discouraged about coming to this website after reviewing what it caters to.
Why would you feel discouraged about coming to a site that caters to technology and the human element?
The information you have provided here appears to be excellent advice, but we've decided to remove it based on these two factors:
1. It causes wierd crashes even though everything was compiled right and working as it should.
2. When I upgraded PHP to a different version it rejected the module stating: eaccelerator version is too old and can't run on the current PHP version, download a newer version of eaccelerator (it was the newest).
Those errors that are being generated are commonplace. Also, your client says you're using PHP version 4.4.0! I mean, geez, welcome to 2005. The most current PHP version is 5.2.4.
Also, you are a hosting provider who offers Fantastico which in turns supplies forum software. And in this case, SMF. Therefore, having eAccelerator with content-caching for your customers should be mandatory.
Follow these steps:
1) Upgrade PHP to 5.2.4.
http://www.php.net2) Install eAccelerator in this fashion:
$ wget
http://YOURMIRROR.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.5.2.tar.gz$ tar xvzf eaccelerator-0.9.5.2.tar.gz
$ cd eaccelerator-0.9.5.2
$ /usr/bin/phpize
$ ./configure --enable-eaccelerator=shared --with-eaccelerator-content-caching --with-php-config=/usr/bin/php-config
$ make
$ su
$ mkdir /tmp/eaccelerator
$ chown apache:apache-group /tmp/eaccelerator
$ chmod 1700 /tmp/eaccelerator
$ make install
After that, you need to add a line to php.ini for it to load this extension. Typically, the line will look like this:
zend_extension=/path/to/eaccelerator.so
When you have it installed, run:
$ php -v
...and tell me what it says.
It SHOULD show the version of eAccelerator along with the PHP version. After restarting Apache, you should see an immediate (although, depending on your server, perhaps not hugely noticeable) improvement in load times for your clients websites.