HOW TO : install/update eAccelerator

error on ./eaccelerator.sh

getting this error:

Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20050606
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

./eaccelerator.sh: ./configure: not found
make: no target to make.
make: don't know how to make install. Stop
eaccelerator: not found
chmod: eaccelerator: No such file or directory
 
Re: error on ./eaccelerator.sh

pera said:
getting this error:

Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20050606
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

./eaccelerator.sh: ./configure: not found
make: no target to make.
make: don't know how to make install. Stop
eaccelerator: not found
chmod: eaccelerator: No such file or directory

delete eaccelerator.sh and download again then run
 
uhaaa
this one did it

1)Install autoconf259.
2)create a link to autoconf259 and autoheader259 in /usr/local/bin
(cd /usr/local/bin ; ln -s autoconf259 autoconf ; ln -s autoheader259 autoheader)
3) follow eaccelerator README on how to compile.

NOTE: why require to create a link? Because the script looking for autoconf and autohead

found
http://forum.mybsd.org.my/index.php?action=vthread&forum=11&topic=32
 
Last edited:
will this work with the basic direct admin centos install with the apache 1.36 and php 4.42?
I would like to update all those but I have read in here where people done the updates and had problems.
Thanks
 
felosi said:
will this work with the basic direct admin centos install with the apache 1.36 and php 4.42?
I would like to update all those but I have read in here where people done the updates and had problems.
Thanks
it should work for you
 
It should work for you, but if you are not using 5.1.x , I suggest you use 0.9.4 first
 
Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20050606
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

./eaccelerator.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.


Having same problem. Redownloaded the script as above post but didnt work
 
Okay got it. used phpinfo

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with eAccelerator v0.9.5-beta2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
 
I get
[***@****]# /sbin/service httpd restart
Stopping httpd: [ OK ]
Starting httpd: PHP Fatal error: [Zend Optimizer] Zend Optimizer 3.0.0 is incompatible with eAccelerator 0.9.5-beta2 in Unknown on line 0
[FAILED]

I really cant understand why it is not working on that server...

The even weirder thing is that it worked fine on another server of mine...
 
Last edited:
explodehost.com said:
I get
[***@****]# /sbin/service httpd restart
Stopping httpd: [ OK ]
Starting httpd: PHP Fatal error: [Zend Optimizer] Zend Optimizer 3.0.0 is incompatible with eAccelerator 0.9.5-beta2 in Unknown on line 0
[FAILED]

I really cant understand why it is not working on that server...

The even weirder thing is that it worked fine on another server of mine...
Code:
cd /usr/local/directadmin/customapache
rm -fr build
wget [url]http://files.directadmin.com/services/customapache/build[/url]
chmod 755 build
./build update
./build clean
./build zend
/etc/init.d/httpd restart
then install eAccelerator again
 
I found a fix for that
ln -s /usr/local/bin/php /usr/bin/php


But Im running php 5 and been getting lots of segfaults with the last version of this, even witch cache cleared.

Wonder why that deletes your sym link
 
Back
Top