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
Linux
Linux Commands
Optimization
Tools for Optimizing Images
Servers
E-Mail Testing
MySQL
Script to convert InnoDB tables to MyISAM
Plesk Panel
Parallels Plesk for Linux services logs and configuration files
Websites
How to Force detecting the Social Profiles associated with a Website

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
Check PageSpeed
Optimization
Tools for Optimizing Images
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

  • Domain Name
  • General
    • Servers
    • Web Server
    • Website Formatting
  • IT Companies
  • Linux
  • MySQL
  • Optimization
    • PHP
  • Troubleshooting
  • Web Hosting Control Panel
    • Plesk Panel
  • Websites
    • CSS
    • HTML
    • Optimization
  • Windows
    • Windows 10

Recent Posts

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

Copyright © 2025 Technology Forum.

Theme: Oceanly News by ScriptsTown