Help installing eAccelerator
Hello,
I'm trying to install eAccelerator on Debian Lenny. I followed the instructions at http://www.debianadmin.com/php-cache...tutorials.html and got as far as ./configure –enable-eaccelerator=shared –with-php-config=/usr/bin/php-config and got the result configure: error: invalid variable name: –enable-eaccelerator Has anybody had any success in getting eAccelerator to work with Debian Lenny? TYIA |
try
./configure --enable-eaccelerator |
Thanks...but
Hello,
Many thanks for your reply, that did something. Then I ran "make" as per instruction...got "make: command not found" guess I'm missing something from my installation. Many Thanks. |
Code:
apt-get install make Code:
apt-get install build-essential linux-headers-`uname -r` |
Yep
That did the trick, thank you very much for your help. One last question, is there any merit in installing it as a Zend extention? Whatever that is!
|
Quote:
cheers, jdk |
Hmm
Spoke too soon.
Put xtension=”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″ In my /etc/php/apache2/php.ini restarted apache and it gets changed to extension=eaccelerator.so eaccelerator.shm_size=163 eaccelerator.cache_dir=/tmp/eaccelerator eaccelerator.enable=13 eaccelerator.optimizer=13 eaccelerator.check_mtime=13 eaccelerator.debug=03 eaccelerator.filter=" eaccelerator.shm_max=03 eaccelerator.shm_ttl=03 eaccelerator.shm_prune_period=03 eaccelerator.shm_only=03 eaccelerator.compress=13 eaccelerator.compress_level=93 It doesn't like the quotation marks! |
which php version are you using?
|
oops
php5 sorry that should of been etc/php5/apache2/php.ini
|
try add the " manually
it should give " not ″ |
Why
Why oh why when I try to install something on debian that's not an apt-get do I end up in the $#~* ?
Edited with " and that seems ok now in the php.ini but trying the test page with <?php eaccelerator(); ?> (after re-starting apache) and I get: "Fatal error: Call to undefined function eaccelerator() in /var/www/test.php on line 1" |
Did you do the "make install" after the "make" command ?
|
Yep
I followed http://www.debianadmin.com/php-cache...tutorials.html religeously.
The only difference was the line ./configure –enable-eaccelerator=shared –with-php-config=/usr/bin/php-config which was changed to ./configure –enable-eaccelerator Arggggghhh! |
Hmmm
./configure –enable-eaccelerator=shared –with-php-config=/usr/bin/php-config
I dont see a /usr/bin/php-config file but I do have a /usr/bin/php-config5. Should the line be ./configure –enable-eaccelerator=shared –with-php-config5=/usr/bin/php-config5 ? |
Quote:
If there are error messages, you will not be able to use make until the errors are gone. then do Code:
make Code:
make install |
All times are GMT -5. The time now is 10:23 AM. |