Skip to main content

Error When Changing PHP Version in MultiPHP Manager

Comments

9 comments

  • cPanelLauren
    Hi @Amira What is the output when you run the following? /usr/local/cpanel/bin/rebuild_phpconf --current
    0
  • Amira
    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 395
    0
  • cPanelLauren
    Hello @Amira If you reinstall php 5.6 does the issue persist? yum reinstall ea-php56*
    0
  • Amira
    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.6
    0
  • cPanelLauren
    Hi @Amira is the error identical or is it noting a different php version?
    0
  • Amira
    @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
  • cPanelLauren
    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
  • Amira
    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: 12008631
    0
  • cPanelLauren
    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.