SOLVED EasyApache 4 failing to load libxml with DSO after update

Azuka

Registered
May 17, 2017
2
0
1
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.
 

Nathan Biles

Registered
Jan 26, 2016
3
0
1
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.
 

joemoto

Registered
May 17, 2017
1
0
1
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.
 

CanSpace

Well-Known Member
PartnerNOC
Nov 25, 2011
65
58
68
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.
 
  • Like
Reactions: NEMESISbyDesign

havenswift

Member
Jul 3, 2012
6
1
53
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
 
Last edited by a moderator:

JacobPerkins

Well-Known Member
May 2, 2014
617
97
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.
 

jimmybsilva

Registered
Jan 11, 2011
4
0
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????
 

WietseD

Member
Mar 29, 2017
8
1
3
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
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,488
35
208
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
 

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
PK
cPanel Access Level
DataCenter Provider
[[email protected]:/]$ 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
[[email protected]:/]$ 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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
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!
 
  • Like
Reactions: thangmaycr