mikevipe

Registered
Aug 20, 2018
2
0
1
California USA
cPanel Access Level
Root Administrator
Hello,
First post here so please bear with me, I was unable to find an error matching mine when searching so here it goes:

Yesterday I used easyapache4 to add in php 7.2 to my current options (5.5, 5.6, 7.0, and now 7.2).

I am able to switch sites between 5.5, 5.6 and 7.0 but when I attempt to select 7.2 as their default I get the error listed at the bottom of this post. I should note that I did not select or deselect any additional options other than to enable the 7.2 in the profile (it chose its own options).

Please note I have replaced the sites name with example.com

Any help is GREATLY appreciated and thank you in advance!
Code:
Error: (XID jxexnd) 1 error occurred: Error #1: The system failed to apply the “PHP” version to “www.example.com”: Cpanel::Exception::MissingParameter/(XID ywarmz) 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(0x1c49ce0), "lang", Cpanel::ProgLang::Supported::php=HASH(0x1b72950), "package", "ea-php72", "type", undef) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 901 Cpanel::WebServer::Supported::apache::set_vhost_lang_package(Cpanel::WebServer::Supported::apache=HASH(0x1c49ce0), "vhost", "www.example.com", "lang", Cpanel::ProgLang::Supported::php=HASH(0x1b72950), "package", "ea-php72", "userdata", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 440 Cpanel::WebServer::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x1b82bb0), Try::Tiny::Catch=REF(0x1b82be0)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 455 Cpanel::WebServer::set_vhost_lang_package(Cpanel::WebServer=HASH(0x1b6f918), "vhost", "www.example.com", "lang", Cpanel::ProgLang::Supported::php=HASH(0x1b72950), "package", "ea-php72", "user", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 529 Cpanel::WebServer::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x1b6f840), Try::Tiny::Catch=REF(0x1b6b3a8)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 535 Cpanel::WebServer::set_vhost_lang_packages(Cpanel::WebServer=HASH(0x1b6f918), "user", "jsmith", "vhosts", ARRAY(0xd43f28), "lang", Cpanel::ProgLang::Supported::php=HASH(0x1b72950), "package", ...) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 97 Cpanel::PHP::Vhosts::setup_vhosts_for_php(ARRAY(0x1b6f8e8)) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 238 Cpanel::PHP::Vhosts::php_set_vhost_versions_as_root(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, HASH(0xd868e8), 0) called at bin/admin/Cpanel/multilang.pl line 67 eval {...} called at bin/admin/Cpanel/multilang.pl line 67 bin::admin::Cpanel::multilang::UPDATE_VHOST_CPANEL(bin::admin::Cpanel::multilang=HASH(0x1b396c8), "ea-php72", "www.example.com") called at /usr/local/cpanel/Cpanel/AdminBin/Script/Call.pm line 119 Cpanel::AdminBin::Script::Call::_dispatch_method(bin::admin::Cpanel::multilang=HASH(0x1b396c8)) called at /usr/local/cpanel/Cpanel/AdminBin/Script.pm line 167 Cpanel::AdminBin::Script::new("bin::admin::Cpanel::multilang", "alarm", 20) called at bin/admin/Cpanel/multilang.pl line 23
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello @mikevipe,

Can you check if there's a .htaccess file in the document root or home directory of the cPanel account associated with the domain name referenced in the error output? If so, check to make sure it's not owned by the "root" user:

Code:
stat /home/username/.htaccess
stat /home/username/public_html/.htaccess
Thank you.
 

mikevipe

Registered
Aug 20, 2018
2
0
1
California USA
cPanel Access Level
Root Administrator
Hello @mikevipe,

Can you check if there's a .htaccess file in the document root or home directory of the cPanel account associated with the domain name referenced in the error output? If so, check to make sure it's not owned by the "root" user:

Code:
stat /home/username/.htaccess
stat /home/username/public_html/.htaccess
Thank you.
Sorry for the late reply, I did not see the email notification. There is no .htaccess and I have also tried on another account on the same server which does have an .htaccess owned by the user account.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Sorry for the late reply, I did not see the email notification. There is no .htaccess and I have also tried on another account on the same server which does have an .htaccess owned by the user account.
Hello @mikevipe,

Could you open a support ticket so we can take a closer look at the affected system? You can post the ticket number here once it's opened and we can link this thread to it.

Thanks!