PHP won't recompile... any suggestions?

csgo

Verified User
Joined
Feb 29, 2012
Messages
47
Due to a mistake on my part (or several mistakes) we've had to reload our system. Everything is currently working, but I have to add the Tidy extension to PHP. I know how to do this via the configuration.php5 but PHP won't complete the recompile.

ERROR:

Generating phar.php
/usr/local/directadmin/custombuild/php-5.3.10/sapi/cli/php: symbol lookup error: /usr/local/directadmin/custombuild/php-5.3.10/sapi/cli/php: undefined symbol: c lient_errors
make: *** [ext/phar/phar.php] Error 127

It refers to version 5.3.10 but here's my php -v output:

PHP 5.4.0 (cli) (built: Mar 13 2012 20:47:42)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

Once it hits the "Generating phar.php" it bails out of the recompile.

Any suggestions welcomed. I just need to get PHP 5.4.0 recompiled with the Tidy extension and life will be good again.

Thanks,
-Joe
 
I did find a conflict in options.conf and corrected it, but I still get the same compile error:


Generating phar.php
/usr/local/directadmin/custombuild/php-5.4.0/sapi/cli/php: symbol lookup error: /usr/local/directadmin/custombuild/php-5.4.0/sapi/cli/php: undefined symbol: client_errors
make: *** [ext/phar/phar.php] Error 127
make: *** Waiting for unfinished jobs....


Suggestions welcomed!

-Joe
 
mmmh actually look strange, on google ive found a symilar error related to libpng.

Does you have other error lines upside those?

Regards
 
Back
Top