The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

easyapache failed after mysql upgrade

Discussion in 'EasyApache' started by Mozafary, Aug 10, 2014.

  1. Mozafary

    Mozafary Member

    Joined:
    Sep 30, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page