PHP/MySQL problems after 24/05/06 update

chataholicdan

Member
Jan 5, 2005
6
0
151
Hi,

Like others on here i had the mysql upgrade issue. Despite the logs saying that cpanel upgraded version 4.0 to a later 4.0, it actually upgraded to 4.1. Ive got mysql fired up anyway, runninng mysql_fix_privilege_tables.

The issue i now have is when i run the apache update, and recompile to the latest PHP (im on 5.0.5) and trying 5.1.4. This failed so i immediately tried 5.1.2, which also failed.

When i disable configure and gcc output i get make errors:

Untarring php....Done
Running configure:
LDFLAGS="-L/usr/X11R6/lib64" /home/cpapachebuild/buildapache/callbacklog --prog configure --dir /home/cpapachebuild/buildapache/build-log -- --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --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-mhash --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-zlib

./configure [@php-5.1.4]...(--with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --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-mhash --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

make [@php-5.1.4]...(-j 1 clean).... Done

make [@php-5.1.4]...(-j 1).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

make: *** [libphp5.la] Error 1

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

make: *** [libphp5.la] Error 1
/etc/rc.d/init.d/httpd start: httpd started

./configure [@php-5.1.4]...(--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-mhash --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . Done

make [@php-5.1.4]...(-j 1 clean).... Done

make [@php-5.1.4]...(-j 1).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done

make: *** [sapi/cgi/php] Error 1

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

make: *** [sapi/cgi/php] Error 1
initfpsuexec: using apache 2.x support
PHP version file is up to date
./build all
./build install
initfpsuexec: using apache 2.x support


When i enable the gcc and configure output, i dont get those. The full output available: here
(although it is rather big and doesn't appear to give any pointers.)

So the recompile is failing, thankfully its not overwriting the php binary with a incorrectly compiled one so my server still works. But im having issues of pages failing to load etc, odd happenings so i want to recompile to make sure php/apache are aware of all the mysql changes etc.

Has anybody else encountered this, does anybody have any advice?

Thanks in advance,

Daniel.
 

chataholicdan

Member
Jan 5, 2005
6
0
151
No and i don't plan to. At the moment i have a semi-working php 5 binary, i don't want to go backwards as i have a need for v5. Trying to compile v4 may cause me to lose where i am at the moment.
 

chataholicdan

Member
Jan 5, 2005
6
0
151
Have submitted ticket to Cpanels support, will update here as soon as i hear anything. Glad to hear im not alone.