Knowledgebase

Portal Home > Knowledgebase > Articles Database > Problem to compile php in litespeed


Problem to compile php in litespeed




Posted by ra3ou1, 01-28-2014, 12:33 PM
when i buid php in litespeed panel with easyphp give me this error please help me to solved this

Posted by SolaDrive - John, 01-28-2014, 04:38 PM
It tells you exactly what the issue is and how to fix it right in the message you pasted: You need autoconf 2.59 or lower to build this version of PHP. You are currently trying to use 2.63 Most distros have separate autoconf 2.13 or 2.59 packages. On Debian/Ubuntu both autoconf2.13 and autoconf2.59 packages exist. Install autoconf2.13 and set the PHP_AUTOCONF env var to autoconf2.13 and try again.

Posted by ra3ou1, 01-28-2014, 11:53 PM
no , i'am used Centos 6 autoconf 2.63 already installed and latest version

Posted by net, 01-29-2014, 12:08 AM
Moved > Hosting Security and Technology.

Posted by mcmyhost, 01-29-2014, 12:10 AM
Exactly. What you pasted says to NOT use 2.63

Posted by ra3ou1, 01-29-2014, 12:54 AM
root@servge [~]# yum install autoconf Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: centos.copahost.com * extras: ftp.plusline.de * updates: centos.mirror.linuxwerk.com Setting up Install Process Package autoconf-2.63-5.1.el6.noarch already installed and latest version Nothing to do

Posted by komputerking, 01-29-2014, 03:11 AM
Which version of PHP are you trying to compile? It looks like your repo is serving the latest version, but you are trying to compile a legacy version of PHP (5.2.17?) which is it balking at. you might have to compile it from source in order to get around the issue.

Posted by ra3ou1, 01-29-2014, 03:33 AM
apache version is 5.3.28 and when i php compile in whm litespeed panel giv me this error. apache php version is 5.3.28 and litespeed php version is 5.2.17

Posted by komputerking, 01-29-2014, 03:35 AM
yeah, your OS php version has the packages necessary for it to compile, but they are too new for the 5.2.17 version you are trying to compile with litespeed. Is there a reason you are compiling a 5.2.17 version of php? Drupal 6?

Posted by ra3ou1, 01-29-2014, 04:11 AM
no can help me to remove autoconf ?

Posted by nixtree, 01-29-2014, 04:55 AM
Why you are trying to install PHP 5.2.17 if you don't need it specifically? You actually have to install an older version of autoconf ( 2.13 or 2.59 ) to compile in 5.2. Just use "Compile Matching PHP" from Litespeed WHM interface. That will install PHP 5.3.28 ( if its installed via EA3 ) to work with Litespeed.

Posted by Steven, 01-29-2014, 10:38 AM
You need to run this:



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Hardening Perl ??? plz (Views: 534)
High Mysql Usage (Views: 529)


Language:

Contact us