Error when updating my WHMCS site to PHP 8.1
Hello!
I am attempting to update my WHMCS installation to PHP 8.1 as the 7.4 is EOL. When trying to use the MultiPHP Manager in the cPanel dashboard I get this error:
Not sure if this is the best way to post a error message but here we go.
The 8.1 PHP version is installed via WHM EasyApache.
I have swapped out the domains with DOMAINREMOVEDFORPOST.COM and usernames with USERNAMEREMOVEDFORPOST.
Error: (XID 27gvbu) 1 error occurred: Error #1: The system failed to apply the "PHP" version to "DOMAINREMOVEDFORPOST.COM": Cpanel::Exception::MissingParameter/(XID te39yt) Provide the "type" parameter for the "Cpanel::WebServer::Supported::apache::make_handler" function. at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 223. Cpanel::WebServer::Supported::apache::make_handler(Cpanel::WebServer::Supported::apache=HASH(0x44a41e0), "lang", Cpanel::ProgLang::Supported::php=HASH(0x4445110), "package", "ea-php81", "type", undef) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 942 Cpanel::WebServer::Supported::apache::set_vhost_lang_package(Cpanel::WebServer::Supported::apache=HASH(0x44a41e0), "vhost", "DOMAINREMOVEDFORPOST.COM", "lang", Cpanel::ProgLang::Supported::php=HASH(0x4445110), "package", "ea-php81", "userdata", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 441 Cpanel::WebServer::__ANON__() called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 100 eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 91 Try::Tiny::try(CODE(0x398fdb8), Try::Tiny::Catch=REF(0x4436380)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 456 Cpanel::WebServer::set_vhost_lang_package(Cpanel::WebServer=HASH(0x442e0e8), "vhost", "DOMAINREMOVEDFORPOST.COM", "skip_userdata_cache_update", 1, "user", "USERNAMEREMOVEDFORPOST", "lang", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 530 Cpanel::WebServer::__ANON__() called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 100 eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 91 Try::Tiny::try(CODE(0x42f8d50), Try::Tiny::Catch=REF(0x3d77490)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 536 Cpanel::WebServer::set_vhost_lang_packages(Cpanel::WebServer=HASH(0x442e0e8), "skip_userdata_cache_update", 1, "user", "USERNAMEREMOVEDFORPOST", "vhosts", ARRAY(0x442e100), "lang", ...) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 111 eval {...} called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 100 Cpanel::PHP::Vhosts::setup_vhosts_for_php(ARRAY(0x3d6b770)) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 279 Cpanel::PHP::Vhosts::php_set_vhost_versions_as_root(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, HASH(0x3d573c0), 0) called at /usr/local/cpanel/Cpanel/Admin/Modules/Cpanel/multilang.pm line 62 eval {...} called at /usr/local/cpanel/Cpanel/Admin/Modules/Cpanel/multilang.pm line 62 Cpanel::Admin::Modules::Cpanel::multilang::UPDATE_VHOST_CPANEL(Cpanel::Admin::Modules::Cpanel::multilang=HASH(0x3cb50f8), "ea-php81", " DOMAINREMOVEDFORPOST.COM") called at /usr/local/cpanel/Cpanel/Admin/Base.pm line 727 eval {...} called at /usr/local/cpanel/Cpanel/Admin/Base.pm line 727 Cpanel::Admin::Base::run("Cpanel::Admin::Modules::Cpanel::multilang", "username", undef, "uid", 1015, "function", "UPDATE_VHOST_CPANEL", "args", ...) called at /usr/local/cpanel/Cpanel/AdminBin/Server/Backend.pm line 143 eval {...} called at /usr/local/cpanel/Cpanel/AdminBin/Server/Backend.pm line 129 Cpanel::AdminBin::Server::Backend::run_admin_module("perl_module", "Cpanel::Admin::Modules::Cpanel::multilang", "uid", 1015, "args", ARRAY(0x3c39520), "function", "UPDATE_VHOST_CPANEL", ...) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 222 Cpanel::AdminBin::Server::_request_handler(Cpanel::AdminBin::Server=HASH(0x3c39118), HASH(0x3c39550), undef) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 123 Cpanel::AdminBin::Server::__ANON__() called at /usr/local/cpanel/Cpanel/Try.pm line 193 eval {...} called at /usr/local/cpanel/Cpanel/Try.pm line 193 Cpanel::Try::try(CODE(0x3c39268), "Cpanel::Exception::ProcessNotRunning", CODE(0x3c392e0)) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 126 Cpanel::AdminBin::Server::handle_cpwrapd_request(Cpanel::AdminBin::Server=HASH(0x3c39118), HASH(0x3c38f98)) called at /usr/local/cpanel/Cpanel/Server.pm line 2455 Cpanel::Server::handle_cpwrapd_connection(Cpanel::Server=HASH(0x39e3ed8)) called at cpsrvd.pl line 1884 cpanel::cpsrvd::_handle_unix_socket_connection("handle_cpwrapd_connection") called at cpsrvd.pl line 1125 cpanel::cpsrvd::script() called at cpsrvd.pl line 436
-
Hey there! Usually when this happens there is some type of permissions or ownership either, either on the /home/username directory itself, or /home/username/public_html or /home/username/public_html/.htaccess. Can you check the permissions and ownerships on those files to see if they need to be adjusted? 0 -
I am able to change to PHP 8.0 but not PHP 8.1. Permissions look good. ADD: I noticed that I am not able to this for any sites in my WHM installation. Same error on all sites under all accounts. 0 -
You mentioned WHMCS is connected to this as well - can you let me know how that is involved with this work? 0 -
So, the WHMCS installation is running on a sub domain with its own directory. I thought this might be related but even main domain sites has the same issue. Seems like I am not able to upgrade any sites to PHP 8.1 only 8.0 0 -
Thanks for the additional details. I'm not finding anything on my end that suggests this is a known, or widespread, issue. Could you please submit a support ticket so we can check this out on your machine? 0 -
I have created a ticket. Thank you for your assistance so far Rex ^^ 0 -
Can you post the ticket number here so I can follow along? 0 -
Yes ofc, Here is the id: #94521864 0 -
I see our team found that /etc/yum.conf was missing the "plugins=1" entry, and after adding that back to the file the tools were able to be installed properly. Let us know if you need anything else! 0 -
Yes ofc, Here is the id: #94521864
I see our team found that /etc/yum.conf was missing the "plugins=1" entry, and after adding that back to the file the tools were able to be installed properly. Let us know if you need anything else!
I also want to move to 8.1... On my test site, I got the imagik error when I enabled 8.1, but everything else seemed to work ok. I had my hosting company install the imagik module and everything seems to be fine now. I also have WHMCS installed on a sub domain that is currently on 7.4 So two questions.... I see 8.2 is available now, should I be moving to that? Is WHMCS working ok on 8.1 for you? Thanks in advance, -Joe0
Please sign in to leave a comment.
Comments
11 comments