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.

SOLVED EasyApache 4 failing to load libxml with DSO after update

Discussion in 'EasyApache' started by Azuka, May 17, 2017.

  1. Azuka

    Azuka Registered

    Joined:
    May 17, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles, CA
    cPanel Access Level:
    Root Administrator
    I'm not sure if this is related, but it also seems to affect PHP running as DSO. Some packages e.g. dom appear to be disabled, unless I set the PHP handler to cgi.

    EasyApache also intermittently reports only one version of PHP installed: 7.1 (I have both 5.6 and 7.1 installed).

    I've forced an upcp and restarted cpanel but the issue still occurs.
     
  2. Topgun964

    Topgun964 Registered

    Joined:
    May 17, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    This is true for me too. DSO and simplexml are not loading
     
  3. Nathan Biles

    Nathan Biles Registered

    Joined:
    Jan 26, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    My site has been completely down since this update. Anyway know a work around until this is fixed?

    The reason it is down is because simplexml was removed on reboot and I noticed the config was wrong. I need to customize and add simplexml module to the config, then reload/restart.
     
  4. joemoto

    joemoto Registered

    Joined:
    May 17, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    Root Administrator
    Same EA4 issue here (in 11.64.0.21 and .22). Also Apache (2.4.45) started having issues under DSO using ea-php56; simplexml was no longer loading. Although the module is available using php-cli. The missing module caused some front-end websites from loading, as they logged errors for "Class 'DOMDocument' not found in". The short-term fix for Apache is to change the Apache handler from DSO to CGI.
     
  5. CanSpace

    CanSpace Member

    Joined:
    Nov 25, 2011
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    53
    cPanel Access Level:
    DataCenter Provider
    +1 to the above. Took a while of arguing with the cPanel support agent before I finally convinced him that the missing PHP packages (running on DSO) were also related to the overnight update.
     
    NEMESISbyDesign likes this.
  6. havenswift

    havenswift Member

    Joined:
    Jul 3, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We have also had this issue today on a couple of servers and am also extremely disappointed that this got this far. We have been told there is a case open (EA-6290) but we have no visibility into these ! Our case is DSO as well although there was a workaround by switching to PHP5.5 from the server default which was set to 5.6
     
    #6 havenswift, May 17, 2017
    Last edited by a moderator: May 17, 2017
  7. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    604
    Likes Received:
    94
    Trophy Points:
    103
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi everyone,

    As stated previously, it looks like the DSO module requires more packages than just XML to have everything compiled in. We apologize this wasn't caught during our testing, and we'll be adding more areas of testing to our DSO module to ensure this doesn't happen again.

    We'll be doing a release tonight to back these changes out, and all should be well after that.

    As a work around, you can simply switch PHP versions to a PHP version that is not running DSO, or switch the Apache handler to CGI or suPHP.

    We'll update this post when the fixes are published.
     
    cPanelNick and eva2000 like this.
  8. Nathan Biles

    Nathan Biles Registered

    Joined:
    Jan 26, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    I just updated to build 22 and still having the same errors
     
  9. jimmybsilva

    jimmybsilva Registered

    Joined:
    Jan 11, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    I am having the same issue Fatal error: Call to undefined function simplexml_load_string() in tried switching to another php but the error is the same . What is the work around????
     
  10. WietseD

    WietseD Member

    Joined:
    Mar 29, 2017
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    netherlands
    cPanel Access Level:
    Root Administrator
    Dear Support,

    We are facing the same problems. Fatal error: Call to undefined function simplexml_load_string()
    Rolling back the yum update fixed it. I brings down large websites, i hope this will be fixed before asap. We have also created a support ticket.

    Best regards,

    Wietse Driever
     
  11. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,452
    Likes Received:
    12
    Trophy Points:
    148
    cPanel Access Level:
    DataCenter Provider
    The fix for this has been tested and is now in the publication process. It will take a few hours to publish. If you open a ticket from WHM or at cPanel Customer Portal, our team can rollback the update for you.

    Please be sure to mention case EA-6290.
     
    cPLevey likes this.
  12. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,452
    Likes Received:
    12
    Trophy Points:
    148
    cPanel Access Level:
    DataCenter Provider
    The publication process has completed.

    The system should automatically see the fixed packages with tonight's update. If waiting for the update is not an option, the fixed rpms can be installed with the instructions below:

    To clear the cache and force yum to re-examine the repository, please run the following on the command line:

    Code:
    yum clean all
    yum update
     
  13. Azuka

    Azuka Registered

    Joined:
    May 17, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles, CA
    cPanel Access Level:
    Root Administrator
    I just confirmed this is working as expected now. Thanks!
     
  14. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    454
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    [root@server:/]$ yum clean all
    Loaded plugins: fastestmirror, universal-hooks
    Cleaning repos: cpanel-addons-production-feed base cpanel-plugins extras updates EA4
    Cleaning up Everything
    Cleaning up list of fastest mirrors
    [root@server:/]$ yum update
    Loaded plugins: fastestmirror, universal-hooks
    Setting up Update Process
    Determining fastest mirrors
    * cpanel-addons-production-feed: 216.14.113.158
    * EA4: 216.14.113.158
    cpanel-addons-production-feed | 2.9 kB 00:00 ...
    cpanel-addons-production-feed/primary_db | 5.3 kB 00:00
    base | 2.9 kB 00:00
    base/primary_db | 4.1 MB 00:00
    cpanel-plugins | 2.9 kB 00:00 ...
    cpanel-plugins/primary_db | 36 kB 00:00
    extras | 2.9 kB 00:00
    extras/primary_db | 35 kB 00:00
    updates | 2.9 kB 00:00
    updates/primary_db | 1.9 MB 00:00
    EA4 | 2.9 kB 00:00 ...
    EA4/primary_db | 6.8 MB 00:02
    No Packages marked for Update
     
  15. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,419
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @JawadArshad,

    It's likely the packages were automatically updated on your system before you ran the "yum update" command. Let us know if you encounter any additional issues.

    Thanks!
     
    thangmaycr likes this.
Loading...

Share This Page