Error When Changing PHP Version in MultiPHP Manager
Hello... I cannot change PHP version for one of my domains and I receive the below Error:
Error: (XID 7qhg3t) 1 error occurred: Error #1: The system failed to apply the "PHP" version to "mydomain.com": Cpanel::Exception::MissingParameter/(XID ya45f6) Provide the "type" parameter for the "Cpanel::WebServer::Supported::apache::make_handler" function. at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 222.
whenever I try to use MultiPHP Manager. Please advise. Thanks
-
Hi @Amira What is the output when you run the following? /usr/local/cpanel/bin/rebuild_phpconf --current0 -
Hi @Amira What is the output when you run the following?
/usr/local/cpanel/bin/rebuild_phpconf --current
Hello... The output is as following: DEFAULT PHP: ea-php56 Cpanel::Exception::MissingParameter/(XID 9zec56) Provide the "type" parameter for the "Cpanel::WebServer::Supported::apache::make_handler" function. at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 222. Cpanel::WebServer::Supported::apache::make_handler(Cpanel::WebServer::Supported::apache=HASH(0x1859f00), "lang", Cpanel::ProgLang::Supported::php=HASH(0x17e1400), "package", "ea-php56", "type", undef) called at /usr/local/cpanel/bin/rebuild_phpconf line 186 bin::rebuild_phpconf::ea4::do_current(HASH(0x1163bb8), Cpanel::ProgLang::Supported::php=HASH(0x17e1400), Cpanel::WebServer::Supported::apache=HASH(0x1859f00)) called at /usr/local/cpanel/bin/rebuild_phpconf line 218 bin::rebuild_phpconf::ea4::run(ARRAY(0xb7f720)) called at /usr/local/cpanel/bin/rebuild_phpconf line 3950 -
Hello @Amira If you reinstall php 5.6 does the issue persist? yum reinstall ea-php56*0 -
Hello @Amira If you reinstall php 5.6 does the issue persist?
yum reinstall ea-php56*
Dear @cPanelLauren same issue persists after reinstalling PHP 5.60 -
Hi @Amira is the error identical or is it noting a different php version? 0 -
@cPanelLauren the error is the same whenever I try change the PHP version whether it's the default version of the server or for any domain. 0 -
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks! 0 -
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
@cPanelLauren Support Request ID is: 120086310 -
Hello @Amira Thanks! I just checked in on that ticket and it appears to have been resolved. The issue was caused by "plugins=1" not being specified within /etc/yum.conf (meaning no plugins were enabled). The analyst resolved this by backing up /etc/yum.conf at /etc/yum.conf.BAK and then added that plugins line to it 0
Please sign in to leave a comment.
Comments
9 comments