Skip to content

Technology Forum

SEO, Speed Up website, Server Optimization, Linux, Open Source Softwares

  • Home
  • General
    • Web Server
    • Website Formatting
  • IT Companies
  • Optimization
    • PHP
  • Linux
  • Home
  • Optimization
  • eAccelerator
General
History of the Internet
PHP
WordPress Optimization
Plesk Panel
Plesk: Disable Nginx and Rebuild Httpd Configuration
PHP
Enable memcache in WAMP
Websites
WCAG 2.0 checklist
Plesk Panel
Plesk: Self-Signed SSL Certificate

eAccelerator

Posted on July 7, 2012July 8, 2012 By admin No Comments on eAccelerator
Optimization

What is eAccelerator ?

eAccelerator is a free open source PHP accelerator, optimizer, encoder and dynamic content cache for PHP. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated. Also it uses some optimizations to speed up execution of PHP scripts. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

To install it you need to follow the below mentioned steps:
# wget http://space.dl.sourceforge.net/project/eaccelerator/eaccelerator/eAccelerator%200.9.6.1/eaccelerator-0.9.6.1.zip
OR
wget http://prdownloads.sourceforge.net/eaccelerator/eaccelerator-0.9.6.1.tar.bz2?use_mirror=ufpr
# unzip eaccelerator-0.9.6.1.zip
# cd eaccelerator-0.9.6.1
# phpize
# ./configure –enable-eaccelerator=shared –with-php-config=/usr/local/bin/php-config
# make
# make install

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

open_basedir don’t play well with eaccelerator
The following message will be displayed in the log:
PHP Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s)

PHP Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/) in Unknown on line 0

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

We need to disable inode since future versions of eAccelerator won’t use it.

We need to change the compilation to

cd eaccelerator-$VERSION
phpize
./configure --enable-eaccelerator=shared --without-eaccelerator-use-inode
make
make install

 

Tags: Compile eAccelerator compile install eAccelerator how to compile eaccelerator open_basedir open_basedir restriction PageSpeed SpeedUp Page

Post navigation

❮ Previous Post: TIPS
Next Post: Check PageSpeed ❯

You may also like

Optimization
Apache Optimization
Optimization
Tools for Optimizing Images
Optimization
Check PageSpeed
Optimization
Add Trailing Slash to URL (.htaccess)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

View Posts

  • PHP FPM modification – Plesk
  • HTML: Link rel – Preload
  • HTML: Attributes of rel
  • Linux Commands
  • Security HTTP Headers

Categories

Our links

  • Chandigarh Business Information Directory
  • Chandigarh City Business Information Directory
  • Customer Services, Support, Helpline, Toll Free Numbers
  • HelpDesk Punjab Business Directory
  • Indian Business Helpline Directory
  • Indian Cities Yellow Pages
  • Nice Time Pass Jokes Quotes Stories
  • Online Applications for Admissions / Jobs / Positions / Employment
  • Technical, Engineering, Medical Directory
  • Technology Forum
  • The Chandigarh City Business Pages
  • Tricity Helpline Chandigarh, Mohali, Panchkula – Business Directory

Copyright © 2025 Technology Forum.

Theme: Oceanly News by ScriptsTown