I cannot build php after mysql upgrade with custombuild

ever00t

Verified User
Joined
Jul 10, 2007
Messages
19
Hi all, please help:
Once i have used custom build to upgrade mysql no problem,according to the notification read as do ./build php n like always after a mysql rebuild,but i get errores like:



eaccelerator cannot start ...fafar error ....

make[1]: *** [install-pear-installer] Error 254
make: *** [install-pear] Error 2


then i googled i do this:(since i use apache2)

./build clean

./build php_ap2 n

but it just gives out:



To build everything run:
./build all

NOTE: Command all will compile everything as set in the options.conf, please take a look at "./build options"!

Other options:
./build apache
./build autoconf
./build automake
./build awstats
./build create_options
./build cron
./build curl
./build dovecot
./build exim_conf
./build freetype
./build iconv
./build icu
./build libjpeg
./build libpng
./build libtool
./build libxml2
./build libxslt
./build mcrypt
./build mhash
./build mod_perl
./build mysql
./build pcre
./build php
./build proftpd
./build rewrite_confs
./build secure_php
./build suphp
./build update_versions
./build update_webapps
./build used_configs
./build versions
./build webalizer
./build zend
./build zlib

Applications:
./build phpmyadmin
./build atmail
./build roundcube
./build squirrelmail
./build uebimiau

Jailed shell (beta):
./build all_jail
./build coreutils
./build shell
./build smtp_mail
./jail/jail_user.sh user

Remove old build data:
./build clean
./build clean_old_webapps

Get latest build script or (and) data:
./build update
./build update_script

Get data for current build script:
./build update_data

Set option:
./build set option_name value

These functions are only recommended for experienced users:
./build php4-cli
./build php5-cli
./build php4-cgi
./build php5-cgi
./build todovecot

You can pass a 2nd argument to automate the input:
./build <option> d : do the default action
./build <option> y : answer yes to all questions
./build <option> n : answer no to all questions
what can i do ?
 
it seems that php_ap2 is not there ? anyway i am redoing ./build php n, before this, i add # to all of the lines in php.ini related to eaccelerator, let's see what will happen.

server:/usr/local/directadmin/custombuild# ./build php n
File already exists: php-5.2.9.tar.gz
MD5 Checksum on php-5.2.9.tar.gz passed.
File already exists: php-5.2.9-mail-header.patch
MD5 Checksum on php-5.2.9-mail-header.patch passed.
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.4. Rebuild it for your PHP version (5.2.9) or download precompiled binaries.
in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.4. Rebuild it for your PHP version (5.2.9) or download precompiled binaries.
in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.4. Rebuild it for your PHP version (5.2.9) or download precompiled binaries.
in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.4. Rebuild it for your PHP version (5.2.9) or download precompiled binaries.
in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.4. Rebuild it for your PHP version (5.2.9) or download precompiled binaries.
in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
Found /usr/local/directadmin/custombuild/php-5.2.9.tar.gz
Extracting ...
 
still i get eaccelerator error,weird,i have added # to it in php.ini already:
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.4. Rebuild it for your PHP version (5.2.9) or download precompiled binaries.
in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
make[1]: *** [install-pear-installer] Error 254
make: *** [install-pear] Error 2
server:/usr/local/directadmin/custombuild#

then i downloaded the newest ea that is 0.9.5.3
tryign to install it,errors:
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.4. Rebuild it for your PHP version (5.2.9) or download precompiled binaries.
in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
make: [test] Error 254 (ignored)
server:/tmp/eaccelerator-0.9.5.3#

or how do i get ea outta the config completely to let php rebuild to go on ? i have already added # too all of the lines reated to ea in /usr/local/Zend/etc/php.ini
 
I'm sure you still have some extensions in your php.ini file.
 
Back
Top