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.

/usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information available

Discussion in 'General Discussion' started by tiff2342, Nov 28, 2012.

  1. tiff2342

    tiff2342 Well-Known Member

    Joined:
    Apr 20, 2012
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information available (required by /opt/xslt/lib/libxslt.so.1)

    what does that mean? bad compile?
     
  2. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Re: /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information availa

    Yes, libxml2 library seems corrupted. Remove/Move the /opt/xml2 and run easy apache again. It should fix it.
    Code:
    mv /opt/xml2 /opt/xml2-backup
    /scripts/easyapache
    
     
  3. tiff2342

    tiff2342 Well-Known Member

    Joined:
    Apr 20, 2012
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Re: /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information availa

    how does it get corrupted? do i have to do a recompile?
     
  4. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Re: /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information availa

    I am not sure weather it's corrupted or not in your case. But I had similar issue and above solution worked perfectly fine for me.

    Yes, recompilation is necessary as you have now removed the library files easyapache will place new files. I forgot to mention I compiled apache force fully.
    Code:
    /scripts/easyapache  --force
    
     
  5. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Re: /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information availa

    This error keeps appearing no matter how many times I update easy apache and force an update. The cpanel team fixed some errors but it keeps happening over again even after I fix it. I don't want to keep talking to the cpanel team all the time and I am getting rather tired of it.
     
    #5 rlshosting, Dec 16, 2012
    Last edited: Dec 16, 2012
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Re: /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information availa

    We are working on a fix for this, to be released with the next update of EasyApache.

    If I understand the problem correctly the problem stems from changing your PHP version. If you build PHP 5.3, a newer version of libxml is built and installed to /opt/xml2. If you subsequently downgrade PHP to 5.2 part of the XML tool chain is rebuilt, but not libxml. The version of libxml built for PHP 5.3 is not compatible with what PHP 5.2 requires.
     
  7. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Re: /usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information availa

    Ok. Thanks a million and for the information.
     
Loading...

Share This Page