Unable to install DSO handler in EA4

Mark Hudson

Registered
Feb 3, 2016
3
1
3
London
cPanel Access Level
Root Administrator
In Easy Apache 4 (WHM 58) I am trying to install DSO as the PHP handler but it is not showing up under MultiPHP Manager >> PHP Handlers. BTW: The security implications of running processes under nobody are not really an issue because I only host my own sites.

From the EA4 page, I selected the "All PHP Options + OpCache: profile.

Because DSO requires a forked MPM, I selected "Prefork Multi-Processing Module for Apache HTTP Server" (a-apache24-mod_mpm_prefork Installed) and provisioned. I was expecting to see an option for DSO but there isn't one. What should I be looking for?

Thanks
 

Reado

Well-Known Member
Sep 8, 2009
220
8
68
United Kingdom
cPanel Access Level
Root Administrator
I resolved this by ensuring "ea-php56-php" (for PHP 5.6) was selected and only one PHP version was installed. No idea why it's not just called ea-php56-dso as that would avoid the confusion.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

You can only use DSO as the handler for one version of PHP on your system. If you install more than one DSO package, you must uninstall all but one package, or else the handler will not function correctly. This is documented at:

EA4 - PHP Handlers

Let us know if you have any additional questions.

Thank you.
 

Mark Hudson

Registered
Feb 3, 2016
3
1
3
London
cPanel Access Level
Root Administrator
I resolved this by ensuring "ea-php56-php" (for PHP 5.6) was selected and only one PHP version was installed. No idea why it's not just called ea-php56-dso as that would avoid the confusion.
Spot on! All I needed was to install ea-apache24-mod_mpm_prefork and ea-php70-php to install PHP7 with DSO handler. I agree that the extension should be renamed.
 
  • Like
Reactions: PbG

garconcn

Well-Known Member
Oct 29, 2009
152
9
68
+1, I've experienced the same issue while choosing "All PHP Options + OpCache" profile. Besides, one of the "ea-phpxx-php" should be chosen automatically or give a warning if people chose this profile since OPcache does not work without DSO.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

I've linked this thread to internal case EA-5099, which is open to suggest adding DSO to the PHP package name in the EasyApach 4 UI. I'll update this thread with any changes to the status of that case.

Thank you.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

To update, the following case is scheduled for publication later today in an EasyApache 4 maintenance release:

EA-6484: Clarify Summary and Description for DSO

Thank you.