When changing the PHP handler for any of the PHP versions on the server, if you receive the following error below is how you correct it.
info [xml-api] API failure: (XID d8npun) Provide the “type” parameter for the “Cpanel::WebServer::Supported::apache::make_handler” function. [php_set_handler] version .
Via Terminal or SSH open the file called
/etc/cpanel/ea4/php.conf with your favorite text editor. It should look similar to this only including the other versions of PHP you have installed:
--- default: ea-php72 ea-php72: cgi ea-php73: cgi
If it does not, please make sure to add the additional ea-php<version> followed by the handler you want to set. To make sure that the system sees it after the change, run the following command
This should now show in MultiPHP Manager and be adjustable from the menus.