Trying to upgrate... Not working

Xiode

Well-Known Member
Oct 14, 2005
73
0
156
I am tryin gto update my version of PHP... and I keep getting these errors...



Code:
make [@php-5.1.6]...(-j 4 clean).... Done

make [@php-5.1.6]...(-j 4).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

[B][COLOR="Red"]make: *** [sapi/cgi/php] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sapi/cli/php] Error 1[/COLOR][/B]

make [@php-5.1.6]...(install).... . . . . . . . . . . Done

[B][COLOR="Red"]make: *** [sapi/cgi/php] Error 1[/COLOR][/B]
initfpsuexec: using apache 1.x support
PHP version file has been updated to 
Executing /scripts/postbuildapache (if exists)...Done
/etc/rc.d/init.d/httpd start: httpd started
initfpsuexec: using apache 1.x support

Those are the last few lines....
 

Xiode

Well-Known Member
Oct 14, 2005
73
0
156
verbose wouldn't fix here is the last I tried

make [@php-5.1.6]...(-j 4 clean).... Done

make [@php-5.1.6]...(-j 4).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....

make [@php-5.1.6]...(install).... . . . . . . . . Done

make: *** [sapi/cli/php] Error 1
/etc/rc.d/init.d/httpd start: httpd started

./configure [@php-5.1.6]...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-mcrypt --with-mhash --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-snmp --enable-ucd-snmp-hack --with-openssl --enable-discard-path --with-pear --with-pgsql=/usr --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . Done

make [@php-5.1.6]...(-j 4 clean).... Done

make [@php-5.1.6]...(-j 4).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

make: *** [sapi/cgi/php] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sapi/cli/php] Error 1

make [@php-5.1.6]...(install).... . . . . . . . . Done

make: *** [sapi/cgi/php] Error 1
initfpsuexec: using apache 1.x support
PHP version file has been updated to
Executing /scripts/postbuildapache (if exists)...Done
/etc/rc.d/init.d/httpd start: httpd started
initfpsuexec: using apache 1.x support
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
it seems a lot of people are having this problem, including me. How come there is no response from cpanel support or someone other gurus yet?

Lately, I find cpanel's support to be extremely lacking. Don't make me go over there and slap you with a big trout. :D
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
good news!!

After 2 days of tinkering with upcp and all other scripts, finally found the solution. Well, at least works for me.

The problem is curl having different version. The correctly version for curl should be 7.15.3. Use command "curl -V" to check version.

I had version 7.16.0, so I ran configure and make to downgrade back to 7.15.3 because when you run the easyapache, it doesn't downgrade for you. To downgrade or make sure correct version is install :

Code:
cd /home/cpapachebuild/buildapache/curl-7.15.3
./configure
make
make install
Once I downgraded back to 7.15.3, I ran easyapache again with all the options I wanted to compile apache and it works!!!

:)

NOTE : I am running release package "WHM 10.8.0 cPanel 10.9.0-R95"