Symptoms
Sometimes, when updating the PHP version of a domain in "MultiPHP Manager" or running the rebuild_phpconf script, you will receive an error similar to the following.
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.
Description
This error occurs when the /etc/cpanel/ea4/php.conf file is empty or plugins=1 is missing from the DNF configuration file. Disabling plugins can cause problems with system and EA4 updates on RHEL-based servers.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open
/etc/dnf/dnf.confin your preferred text editor. - Ensure that the
pluginsvalue is set to1.plugins=1
- Save the changes and exit the text editor.
- Reinstall at least one EasyApache package.
dnf reinstall ea-php##
Please note that "##" must be replaced with the PHP version without the decimal point (i.e., 81 for PHP 8.1).
Comments
0 comments
Article is closed for comments.