Errors when changing PHP version in MultiPHP Manager

Chris1904

Registered
May 20, 2017
3
0
1
Long Beach
cPanel Access Level
Website Owner
Hi everyone,

I have an issue when I try to change the PHP version or even just simply try to change the php.ini through the INI editor. The error is as follows:

Code:
Error:(XID zmqznz) 1 error occurred: Error #1: The system failed to apply the “PHP” version to “clooud.tv”: Cpanel::Exception::IO::ChmodError/(XID ran4w8)
The system failed to set the permissions on one or more inodes to “0644” (as EUID: 1000, EGID: 1000 1000) because of the following error: Operation not permitted at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330. 
Cpanel::Exception::create("IO::ChmodError", ARRAY(0x5707f48)) called at /usr/local/cpanel/Cpanel/Autodie/Perms.pm line 38 Cpanel::Autodie::Perms::chmod(420, GLOB(0x5791d60)) called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 167
 Cpanel::Transaction::File::Base::_set_permissions(GLOB(0x5791d60), 420, undef) called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 110 
Cpanel::Transaction::File::Base::new("Cpanel::Transaction::File::Raw", "path", "/home/clooudtv/httpdocs/public/.htaccess", "permissions", 420, "restore_original_permissions", 1) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 188 
Cpanel::WebServer::Supported::apache::Htaccess::_internal_set_handler(Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x56a3fa0), "userdata", Cpanel::WebServer::Userdata=HASH(0x13d1dc0), "package", "inherit", "handler", Cpanel::WebServer::Supported::apache::Handler::inherit=HASH(0x56abc90), "lang", ...) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 209 
Cpanel::WebServer::Supported::apache::Htaccess::__ANON__() called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 97 eval {...} called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 97 Cpanel::AccessIds::ReducedPrivileges::call_as_user(CODE(0x5795cd8), 1000, 1000) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 211 Cpanel::WebServer::Supported::apache::Htaccess::set_handler(Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x56a3fa0), "userdata", Cpanel::WebServer::Userdata=HASH(0x13d1dc0), "package", "inherit", "vhost", "clooud.tv", "lang", ...) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 914 Cpanel::WebServer::Supported::apache::__ANON__(Cpanel::Exception::IO::ChmodError=HASH(0x5589210)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 122 Try::Tiny::try(CODE(0x56a4000), Try::Tiny::Catch=REF(0x56dcf60)) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 920 Cpanel::WebServer::Supported::apache::set_vhost_lang_package(Cpanel::WebServer::Supported::apache=HASH(0x53b5240), "vhost", "clooud.tv", "lang", Cpanel::ProgLang::Supported::php=HASH(0x4dfe7e8), "package", "inherit", "userdata", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 450 Cpanel::WebServer::__ANON__(Cpanel::Exception::IO::ChmodError=HASH(0x56abae0)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 122 Try::Tiny::try(CODE(0x56a3b68), Try::Tiny::Catch=REF(0x53b48f8)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 455 Cpanel::WebServer::set_vhost_lang_package(Cpanel::WebServer=HASH(0x4f02430), "vhost", "clooud.tv", "user", "clooudtv", "lang", Cpanel::ProgLang::Supported::php=HASH(0x4dfe7e8), "package", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 529 Cpanel::WebServer::__ANON__() called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 101 eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 92 Try::Tiny::try(CODE(0x4ea3908), Try::Tiny::Catch=REF(0x50d3d98)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 535 Cpanel::WebServer::set_vhost_lang_packages(Cpanel::WebServer=HASH(0x4f02430), "user", "clooudtv", "vhosts", ARRAY(0x501da08), "lang", Cpanel::ProgLang::Supported::php=HASH(0x4dfe7e8), "package", ...) called at /usr/local/cpanel/Cpanel/PHP/Vhosts.pm line 97 Cpanel::PHP::Vhosts::setup_vhosts_for_php(ARRAY(0x50d35e8)) 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(0x1361440), 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(0x53756f8), "ea-php70", "clooud.tv") called at /usr/local/cpanel/Cpanel/AdminBin/Script/Call.pm line 119 Cpanel::AdminBin::Script::Call::_dispatch_method(bin::admin::Cpanel::multilang=HASH(0x53756f8)) called at /usr/local/cpanel/Cpanel/AdminBin/Script.pm line 166 Cpanel::AdminBin::Script::new("bin::admin::Cpanel::multilang", "alarm", 20) called at bin/admin/Cpanel/multilang.pl line 23

Also when I try to change values in the php.ini I receive an error saying "The EUID, 1000, does not own /path/tp/.htacccess"

It seems these issues correlate.

What could cause this?

Any help would be highly appreciated!

Best,

Chris
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Cpanel::Transaction::File::Base::new("Cpanel::Transaction::File::Raw", "path", "/home/clooudtv/httpdocs/public/.htaccess", "permissions", 420, "restore_original_permissions", 1) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 188

Hello,

It looks like you are using a custom document root for the domain name. Could you confirm if the .htaccess file exists under that path, and if so, what the ownership values are set to? For example, based on the error message, the command you'd use is:

Code:
stat /home/$username/httpdocs/public/.htaccess
Thank you.
 

pimpi

Registered
Mar 28, 2021
1
1
3
holland
cPanel Access Level
Root Administrator
this issue was making me crazy finally i solved it by using

chown -R youruser:youruser /home/youruser/public_html

change youruser with your website username

i hope it can help people it sure helped me cuz even the htaccess was not working
 
  • Like
Reactions: cPRex