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
PHP
WordPress Optimization
HTML
HTML: Attributes of rel
Optimization
PHP Code Optimization
Plesk Panel
Plesk: Self-Signed SSL Certificate
Servers
E-Mail Testing
Plesk Panel
Plesk: Disable Nginx and Rebuild Httpd Configuration

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
Add Trailing Slash to URL (.htaccess)
Optimization
Apache Optimization
Optimization
Tools for Optimizing Images
Optimization
Check PageSpeed

Leave a Reply Cancel reply

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

Enter Captcha Here : *

Reload Image

View Posts

  • HTML: Link rel – Preload
  • HTML: Attributes of rel
  • Linux Commands
  • Security HTTP Headers
  • WCAG 2.0 checklist

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

  • HTML: Link rel – Preload
  • HTML: Attributes of rel
  • Linux Commands
  • Security HTTP Headers
  • WCAG 2.0 checklist

Copyright © 2023 Technology Forum.