Jump to content

Accelerate your PHP code


webresellers

Recommended Posts

We applied this to 4 of our servers, and have really noticed a huge php performance gain, and the server resources are at least 25% lower than they were.

 

This can also be installed (and is supported by cPanel) from EasyApache3 from within cPanel/WHM interface.

 

eAccelerator description:

"eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times." (Font: eAccelerator )

 

eAccelerator auto installer should work perfectly on any cPanel server, there are lots of sanity checks built in to prevent any possible issue or destruction.

 

Download and run eAccelerator atoinstaller:

# wget http://tutorials.medialayer.com/cPanel/eaccelerator.sh

# chmod 700 eaccelerator.sh

# ./eaccelerator.sh

 

Note: The php.ini gets backed up before it is modified, you can get it back..

Link to comment
Share on other sites

php -v wouldn't show anything different because your php version isn't changing...

examine your php.ini and you should see that it now includes libraries to the accelerator.

You can also check http://forums.cpanel.net for more complete details on the accelerator being that cpanel includes it from within the easyapache3 (ea3) interface.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated