Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Errors when changing PHP version in MultiPHP Manager

Discussion in 'EasyApache' started by Chris1904, May 20, 2017.

Tags:
  1. Chris1904

    Chris1904 Registered

    Joined:
    May 20, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  2. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    140
    Likes Received:
    14
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Have you checked the ownership of your .htaccess file?
     
  3. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    It writes to your .htaccess and from the error, the script is failing to set the 0644 permission on that file.

    Check file attributes : lsattr /path/to/.htaccess
     
  4. Chris1904

    Chris1904 Registered

    Joined:
    May 20, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Long Beach
    cPanel Access Level:
    Website Owner
    Thanks for the responses:

    lsattr .htaccess results in

    -------------e-- .htaccess

    Thanks for any help!
     
  5. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    attributes are fine. e is normal . you need to check permission.Also, ensure the filesystem is writeable
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator

    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.
     
Loading...

Share This Page