Problem with PHP 7.4
Hello :)
Please I need help!
I am trying to change PHP 7.3 to 7.4 from cpanel but it show error
Error: (XID ce46pt) 1 error occurred: Error #1: The system failed to apply the "PHP" version to "social.XXXX.com": Cpanel::Exception::MissingParameter/(XID w4hkxj) 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(0x43a32e8), "lang", Cpanel::ProgLang::Supported::php=HASH(0x433f7f8), "package", "ea-php74", "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(0x43a32e8), "vhost", "social.XXXX.com", "lang", Cpanel::ProgLang::Supported::php=HASH(0x433f7f8), "package", "ea-php74", "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(0x38d3530), Try::Tiny::Catch=REF(0x4330d60)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 456 Cpanel::WebServer::set_vhost_lang_package(Cpanel::WebServer=HASH(0x432cc10), "vhost", "social.XXXX.com", "lang", Cpanel::ProgLang::Supported::php=HASH(0x433f7f8), "user", "XXXX", "package", ...) 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(0x4203928), Try::Tiny::Catch=REF(0x41f6100)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 536 Cpanel::WebServer::set_vhost_lang_packages(Cpanel::WebServer=HASH(0x432cc10), "skip_userdata_cache_update", 1, "user", "XXXX", "vhosts", ARRAY(0x3c88f20), "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(0x3c6bd40)) 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(0x3c5af00), 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(0x3bb6e98), "ea-php74", "social.XXXX.com") called at /usr/local/cpanel/Cpanel/Admin/Base.pm line 713 eval {...} called at /usr/local/cpanel/Cpanel/Admin/Base.pm line 713 Cpanel::Admin::Base::run("Cpanel::Admin::Modules::Cpanel::multilang", "username", undef, "uid", 1047, "function", "UPDATE_VHOST_CPANEL", "args", ...) called at /usr/local/cpanel/Cpanel/AdminBin/Server/Backend.pm line 144 eval {...} called at /usr/local/cpanel/Cpanel/AdminBin/Server/Backend.pm line 130 Cpanel::AdminBin::Server::Backend::run_admin_module("perl_module", "Cpanel::Admin::Modules::Cpanel::multilang", "uid", 1047, "args", ARRAY(0x3b45d10), "function", "UPDATE_VHOST_CPANEL", ...) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 222 Cpanel::AdminBin::Server::_request_handler(Cpanel::AdminBin::Server=HASH(0x3b13238), HASH(0x3b45ae8), 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(0x3b45800), "Cpanel::Exception::ProcessNotRunning", CODE(0x3b45878)) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 126 Cpanel::AdminBin::Server::handle_cpwrapd_request(Cpanel::AdminBin::Server=HASH(0x3b13238), HASH(0x3b130b8)) called at /usr/local/cpanel/Cpanel/Server.pm line 2456 Cpanel::Server::handle_cpwrapd_connection(Cpanel::Server=HASH(0x3939988)) called at cpsrvd.pl line 1866 cpanel::cpsrvd::_handle_unix_socket_connection("handle_cpwrapd_connection") called at cpsrvd.pl line 1119 cpanel::cpsrvd::script() called at cpsrvd.pl line 440
Can you please help me
Thank you
-
Hey there! Do you have root access to the account? If so, does the same thing happen when you try to change the PHP version through WHM? Do you see anything interesting in the cPanel error log at /usr/local/cpanel/logs/error_log when you perform that work? 0 -
Hey there! Do you have root access to the account? If so, does the same thing happen when you try to change the PHP version through WHM? Do you see anything interesting in the cPanel error log at /usr/local/cpanel/logs/error_log when you perform that work?
Hello! Thank you for your reply, I have root access yes the same things appear also from WHM panel I can see this in /usr/local/cpanel/logs/error_log , [2021-08-30 18:57:38 +0200] info [xml-api] rebuild_files: working on domain (na.net) [2021-08-30 18:57:38 +0200] warn [Internal Warning while parsing [stdin] 6251] Use of uninitialized value in -e at /usr/local/cpanel/Cpanel/PHPFPM.pm line 915. at /usr/local/cpanel/Cpanel/PHPFPM.pm line 915. Cpanel::PHPFPM::rebuild_files(HASH(0x1838740), 1, 1, 1) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 342 eval {...} called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 341 Cpanel::PHP::Vhosts::rebuild_configs_and_restart_fpm(HASH(0x1838740)) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 312 Cpanel::PHP::Vhosts::rebuild_configs_and_restart(HASH(0x1838740)) called at /usr/local/cpanel/Whostmgr/API/1/Lang/PHP.pm line 297 Whostmgr::API::1::Lang::PHP::php_set_vhost_versions(HASH(0x18fbcb0), Whostmgr::API::1::Utils::Metadata=HASH(0x18f40a8), HASH(0x2b6f180)) called at whostmgr/bin/xml-api.pl line 4018 whostmgr::bin::xml_api::__ANON__(Whostmgr::API::1::Utils::Metadata=HASH(0x18f40a8), HASH(0x18fbcb0), HASH(0x2b6f180), CODE(0x2b62438)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 238 Whostmgr::API::1::Data::Wrapper::__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(0x3359168), Try::Tiny::Catch=REF(0x3345050)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 257 Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x2b69fb8), HASH(0x18fbcb0), HASH(0x2b6f180), HASH(0x2b6fde0), CODE(0x2b62438)) called at whostmgr/bin/xml-api.pl line 4223 whostmgr::bin::xml_api::runapp("php_set_vhost_versions", HASH(0x2b6f180), HASH(0x17f9ba8), 0, CODE(0x2b62438)) called at whostmgr/bin/xml-api.pl line 3877 whostmgr::bin::xml_api::script(CODE(0x2b62438), "-json", "./php_set_vhost_versions") called at whostmgr/bin/xml-api.pl line 3820 [2021-08-30 18:57:38 +0200] info [xml-api] php-fpm: rebuild_files: restart fpm services for Apache [2021-08-30 18:57:38 +0200] info [xml-api] php-fpm: fpm services restarted Thank you.0 -
Out of curiosity, do you get an error from this? cp /etc/apache2/conf/httpd.conf{,.back-`date +%Y%m%d`} /scripts/rebuildhttpdconf
It seems like there may be an issue with that specific domain causing a problem. Since you do have root access, you could always submit a ticket to our team so we could examine the issue directly on the system.0 -
Out of curiosity, do you get an error from this?
cp /etc/apache2/conf/httpd.conf{,.back-`date +%Y%m%d`} /scripts/rebuildhttpdconf
It seems like there may be an issue with that specific domain causing a problem. Since you do have root access, you could always submit a ticket to our team so we could examine the issue directly on the system.
the problem appear not only for one domain it's also for anothers domains, I will open ticket now :) Thank you so much have a nice day0 -
Please post that ticket number once you have it opened so I can follow along. 0 -
Please post that ticket number once you have it opened so I can follow along.
Your amazing team were able to fix this problem finally :D for those who have the same problem follow this steps " it appears that this was due to an issue with your php.conf and yum.conf files. Specifically, lines were missing that tells the system how to process requests for PHP 7.4. That being said, I was able to resolve this issue using the steps in the following article: "0 -
Thanks for the follow-up! 0
Please sign in to leave a comment.
Comments
7 comments