Results 1 to 8 of 8
Threaded View
-
12th Sep 2011, 05:40 PM #1
High Performance/Traffic PHP WebServer - PHP Caching (eaccelerator)
eAccelerator is a PHP caching system, which caches frequently used portions of PHP files to RAM to increase performance. This is especially great on high traffic websites such as forums. Performance gains of up to 1000% have been seen with eAccelerator. The following tutorial shows how to install eAccelerator from source on Linux.
Download the source:
Code:cd /usr/src/ wget http://internap.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.3.tar.gz tar zxvf eaccelerator-0.9.3.tar.gz cd eaccelerator-0.9.3
Build:
Code:export PHP_PREFIX="/usr" $PHP_PREFIX/bin/phpize ./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config make
Note, the PHP_PREFIX should be set to where you have PHP installed.
Install:
Code:make install
If you are using Zend, add the following to your php.ini file:
Code:zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so" eaccelerator.shm_size="16" eaccelerator.cache_dir="/tmp/eaccelerator" eaccelerator.enable="1" eaccelerator.optimizer="1" eaccelerator.check_mtime="1" eaccelerator.debug="0" eaccelerator.filter="" eaccelerator.shm_max="0" eaccelerator.shm_ttl="0" eaccelerator.shm_prune_period="0" eaccelerator.shm_only="0" eaccelerator.compress="1" eaccelerator.compress_level="9"
Note: zend_extension should be equal to the location to where the extension was installed.
If you are not using Zend, you can load eAccelerator as a PHP extension:
Code:extension="eaccelerator.so" eaccelerator.shm_size="16" eaccelerator.cache_dir="/tmp/eaccelerator" eaccelerator.enable="1" eaccelerator.optimizer="1" eaccelerator.check_mtime="1" eaccelerator.debug="0" eaccelerator.filter="" eaccelerator.shm_max="0" eaccelerator.shm_ttl="0" eaccelerator.shm_prune_period="0" eaccelerator.shm_only="0" eaccelerator.compress="1" eaccelerator.compress_level="9" Setup caching directories: mkdir /tmp/eaccelerator chmod 0777 /tmp/eaccelerator
Bharat Reviewed by Bharat on . High Performance/Traffic PHP WebServer - PHP Caching (eaccelerator) eAccelerator is a PHP caching system, which caches frequently used portions of PHP files to RAM to increase performance. This is especially great on high traffic websites such as forums. Performance gains of up to 1000% have been seen with eAccelerator. The following tutorial shows how to install eAccelerator from source on Linux. Download the source: cd /usr/src/ wget http://internap.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.3.tar.gz tar Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Other] High performance RDP server for 8 persons
By ashokbansal in forum ArchiveReplies: 2Last Post: 1st Apr 2012, 09:08 AM -
[VPS] [DE/EU]Titel: High Performance VPS (OpenVZ) ? up to 4 GB RAM, 150 GB disk space
By 1Deluxe in forum ArchiveReplies: 0Last Post: 27th Jun 2011, 04:13 PM -
[Shared] High Performance cPanel Hosting Starting at $2.99/mo! Take 99% off your first invoice
By XeHSean in forum ArchiveReplies: 1Last Post: 13th Jun 2011, 02:57 PM -
[Shared] Hostings Plus - Affordable High Performance Shared Hosting
By felosi in forum ArchiveReplies: 1Last Post: 9th Jun 2011, 07:23 AM -
[Shared] High Performance cPanel Hosting Starting at $2.99/mo! Take 99% off your first invoice
By XeHSean in forum ArchiveReplies: 1Last Post: 21st Mar 2011, 02:26 PM
themaCreator - create posts from...
Version 3.17 released. Open older version (or...