easyapache failed after mysql upgrade

Mozafary

Member
Sep 30, 2010
7
0
51
Hello
After upgrade mysql to 5.5,easyapache failed to rebuild apache/php with this error:
Code:
configure: error: DOM extension requires LIBXML extension, add --enable-libxml

checking whether to enable DBA interface... no
checking whether to enable DOM support... yes
configure: error: DOM extension requires LIBXML extension, add --enable-libxml
!! './configure --disable-fileinfo --disable-libxml --disable-pdo --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-magic-quotes --enable-sockets --prefix=/usr/lo$
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!



I do:
Code:
libxml64fix
/scripts/autorepair
rpm -e --nodeps zlib-devel
rpm -e --nodeps libxml2-devel
yum install zlib-devel
yum install libxml2-devel
run easyapache with "default" profile
but the problem still on our side.

- - - Updated - - -

libxml64fix error:

Code:
gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o .libs/xmllint xmllint.o  ./.libs/libxml2.so -ldl -lz -lm 
./.libs/libxml2.so: undefined reference to `gzopen64'
collect2: ld returned 1 exit status
make[1]: *** [xmllint] Error 1
make[1]: Leaving directory `/usr/local/cpanel/src/libxml2-2.6.28'
make: *** [install-recursive] Error 1
Can't exec "/usr/local/cpanel/bin/checkperlmodules": No such file or directory at ./libxml64fix line 47.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

The error message you provided suggests the solution is to add the "--enable-libxml" flag to /var/cpanel/easy/apache/rawopts/all_php5 before running EasyApache. You could do this by running a command such as:

Code:
echo "--enable-libxml" > /var/cpanel/easy/apache/rawopts/all_php5
Let us know if that helps. Note that I do see you have ticket number 5324749 open to address this issue as well. Feel free to let us know the outcome of that ticket.

Thank you.