Sometimes when updating the PHP version of a domain (WHM >> Software >> MultiPHP Manager), you will receive an error such as this.
Error #1: The system failed to apply the "PHP" version to "domain.com": Cpanel::Exception::MissingParameter/(XID 9vr3vx) Provide the "type" parameter for the "Cpanel::WebServer::Supported::apache::make_handler" function.
You will also see this error by running the following command via a root command-line session.
This error appears to occur when the /etc/cpanel/ea4/php.conf file is empty and also when the plugins=1 line is not found in /etc/yum.conf. If plugins are disabled, it can cause problems with RHEL/CloudLinux and EA4 updates.
Add a new line in /etc/yum.conf with the following content:
Then reinstall at least one EasyApache package via the command line (yum reinstall) or in the EA4 interface in WHM.