Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Trouble at Updating libxml2

Discussion in 'General Discussion' started by Senioryoshi83, Aug 28, 2017.

  1. Senioryoshi83

    Senioryoshi83 Registered

    Joined:
    Aug 28, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Hi, i'm trying to update libxml2 because I need the php extension DOMDocument 2.7.8 or higher.

    I tried to do this by using

    yum update libxml2

    but it says that the package libxml2-2.7.6-21.el6_8.1.x86_64 it's already the last version available (and installed)

    I used

    cat /etc/redhat-release

    Output: CENTOS 6.9

    rpm -qa|grep libxml2

    Output:
    libxml2-2.7.6-21.el6_8.1.x86_64
    libxml2-python-2.7.6-21.el6_8.1.x86_64
    libxml2-devel-2.7.6-21.el6_8.1.x86_64

    How can I update this?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    EasyApache 4 will use OS provided libraries for libxml2. Thus, if you wanted to use version newer than what your OS provides, then you'd need to manually install that version of libxml2 in your OS. You may want to post to the CentOS forums for help with that:

    CentOS - CentOS 6

    Thank you.
     
  3. Senioryoshi83

    Senioryoshi83 Registered

    Joined:
    Aug 28, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Thank you!
     
    cPanelMichael likes this.
Loading...

Share This Page