neu242 ([info]neu242) wrote,

eAccelerator for Debian lenny

eAccelerator needs to be built every time PHP is upgraded:


$ wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2
$ wget http://debian.mcmillan.net.nz/debian/dists/etch/awm/source/php5-eaccelerator_0.9.5.2-0+etch11.tar.gz
$ tar xjvf eaccelerator-0.9.5.3.tar.bz2
$ tar xzvf php5-eaccelerator_0.9.5.2-0+etch11.tar.gz php5-eaccelerator-0.9.5.2/debian
$ cp -R php5-eaccelerator-0.9.5.2/debian eaccelerator-0.9.5.3/
$ apt-cache policy php5-dev # Copy the last last version number, e.g. "5.2.6-4"
$ vim eaccelerator-0.9.5.3/debian/substvars # Set the PHP version in misc:Depends=php5-dev
$ vim eaccelerator-0.9.5.3/debian/changelog # Set the package version by duplicating (or editing) the topmost paragraph
$ vim eaccelerator-0.9.5.3/debian/eaccelerator.ini # Remove "#" from "extension=eaccelerator.so"
$ cd eaccelerator-0.9.5.3
$ dpkg-buildpackage

- Binaries here: http://henrik.synth.no/deb/
- All credit goes to Andrew McMillan: http://andrew.mcmillan.net.nz/node/70
Tags: debian, dpkg, eaccelerator, edb, php

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments

[info]skorzhevsky

November 23 2009, 20:23:18 UTC 2 years ago

php5-eaccelerator for Lenny

I've made binary x86 package for Lenny using your instructions: http://www.princ-solutions.com/150/download.html

Thank you.

[info]neu242

November 23 2009, 20:31:31 UTC 2 years ago

Re: php5-eaccelerator for Lenny

I should mention that I don't use eAccelerator anymore. Alternative PHP Cache (php-apc) is available in Debian and Ubuntu and it works just as well.
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…