现在的位置: 首页 > 综合 > 正文

How to install eAccelerator 0.9.2a on Debian with Php5.0.3

2013年08月21日 ⁄ 综合 ⁄ 共 1464字 ⁄ 字号 评论关闭
Article from http://opensource.creativ-it.net/

How to install eAccelerator 0.9.2a on Debian with Php5.0.3 from dotdeb.org.

WARNING eAccelerator still has some bugs and is not meant to be used in production. It is not working in CGI mode.
Please note that this is NOT an offical package. Don't send bug reports to the Debian Team or to DotDeb.org.

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. eAccelerator is a fork of the unmaintened turk-mmcache.

Mini HowTo

If it's not already done, add packages.dotdeb.org to your /etc/apt/sources.list file.

echo 'deb http://packages.dotdeb.org ./' >>/etc/apt/sources.list

Download and install latest php5.0.3 packages from Dotdeb.org.

apt-get update && apt-get install php5

If it's not already done, add opensource.creativ-it.net/php5-eaccelerator repository to your /etc/apt/sources.list file.

echo 'deb http://opensource.creativ-it.net/debian/php5-eaccelerator ./' >>/etc/apt/sources.list

Download and install php5-eaccelerator

apt-get update && apt-get install php5-eaccelerator

Report packaging errors to Olivier Garcia, or come to #eaccelerator on Freenode and ask for olivier.


You can also get the source of the debian package :

echo 'deb-src http://opensource.creativ-it.net/debian/php5-eaccelerator ./' >>/etc/apt/sources.list
cd /tmp/foo
apt-get source php5-eaccelerator

抱歉!评论已关闭.