Install DSO PHP handler on a cPanel server with EasyApache 4

Install DSO PHP handler on a cPanel server with EasyApache 4

 

By default the new EasyApache 4 would not have DSO PHP handler enabled. Depending on the PHP version that you would like DSO enabled for you need to install the following:

 yum install ea-php56-php 

Note that you need to change 'ea-php56-php' to your desired PHP version, for example if you need to istall it for PHP 7.1 use ea-php71-php

 yum install mod_ruid2 
 yum install mpm_prefork 

After that make sure to update your PHP handler, you can do that via WHM. This is pretty much it.

As the DSO handler can only be used for one PHP version at a time, if you would like to use DSO for a different PHP version you can do the following:

 yum remove ea-php56-php 

Then:

 yum install ea-php71-php 

After that make sure to update your PHP handler, you can do that via WHM.

 

Materialize

The Real-Time Data Platform for Developers

Buy me a coffeeBuy me a coffee