![]() |
||
|
High Performance PHP - Installing eAccelerator on FreeBSD
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 is how to install eAccelerator on FreeBSD using ports. Using ports, compile and install: cd /usr/ports/www/eaccelerator make make install
If you are using Zend: vi /usr/local/Zend/etc/php.ini (this is the default location) Add the following: zend_extension="/usr/local/lib/php/20020429/eaccelerator.so" Comment out the following lines: zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.7 If you are not using Zend optimiser the add the following to your php.ini: extension="eaccelerator.so" Create the caching directory: mkdir /tmp/eaccelerator You can check if eAccelerator is working by copying the following file into your htdocs folder: /usr/ports/www/eaccelerator/work/eaccelerator/eaccelerator.php
Similar Articles : High Performance PHP - Installing eAccelerator on FreeBSD, High Performance/Traffic PHP WebServer - PHP Caching (eaccelerator) |
||
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers © Copyright 2003-2008 ABN 97 125 618 662 |
||