Multiphp Manager error
I've already fixed one set of errors with Multiphp Manager but I've been through all forum posts for this set and have not been able to fix them. Can anyone help?
ls -lah shows 644 and the correct user:group as far as I understand it:
# ls -lah
total 268K
drwxr-xr-x 9 msowards msowards 4.0K Feb 5 16:00 .
drwxr-xr-x 4 root root 4.0K Feb 3 13:30 ..
drwxr-xr-x 2 msowards nobody 4.0K Jan 31 19:20 cgi-bin
lrwxrwxrwx 1 msowards msowards 8 Feb 4 13:26 .ea-php-cli.cache -> ea-php81
-rw-r--r-- 1 msowards msowards 628 Feb 4 20:05 .htaccess
Here is the full error message.. by the way, Dev's may want to think about adding a scroll bar to that message because you can't view the full message unless you inspect the element and copy it from DevTools.
"(XID 25ff3z) 1 error occurred: Error #1: The system failed to apply the "PHP" version to "ravesta.com": Cpanel::Exception::IO::FileLockError/(XID jggfds) The system failed to lock the file "/sites/sites/ravesta/public_html/.htaccess" (as EUID: 1001, EGID: 1002 1002) because of the following error: Permission denied at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 165. Cpanel::Transaction::File::Base::new("Cpanel::Transaction::File::Raw", "path", "/sites/sites/ravesta/public_html/.htaccess", "permissions", 420, "restore_original_permissions", 1) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 191 Cpanel::WebServer::Supported::apache::Htaccess::_internal_set_handler(Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x2e8c088), "package", "ea-php81", "lang", Cpanel::ProgLang::Supported::php=HASH(0x2cf6cf8), "handler", Cpanel::WebServer::Supported::apache::Handler::cgi=HASH(0x2e8c118), "vhost", ...) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 212 Cpanel::WebServer::Supported::apache::Htaccess::__ANON__() called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 96 eval {...} called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 96 Cpanel::AccessIds::ReducedPrivileges::call_as_user(CODE(0x2e7d4c8), 1001, 1002) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache/Htaccess.pm line 217 Cpanel::WebServer::Supported::apache::Htaccess::set_handler(Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x2e8c088), "userdata", Cpanel::WebServer::Userdata=HASH(0x2c7f4d0), "vhost", "ravesta.com", "lang", Cpanel::ProgLang::Supported::php=HASH(0x2cf6cf8), "package", ...) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 967 Cpanel::WebServer::Supported::apache::__ANON__(Cpanel::Exception::IO::FileLockError=HASH(0x2f2acb0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 121 Try::Tiny::try(CODE(0x2e8c4d8), Try::Tiny::Catch=REF(0x2e8c670)) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 973 Cpanel::WebServer::Supported::apache::_update_vhost(Cpanel::WebServer::Supported::apache::Handler::cgi=HASH(0x2e8c118), Cpanel::WebServer::Supported::apache::Htaccess=HASH(0x2e8c088), Cpanel::WebServer::Userdata=HASH(0x2c7f4d0), Cpanel::WebServer::Supported::apache::Handler::cgi=HASH(0x2e8c118), "ravesta.com", Cpanel::ProgLang::Supported::php=HASH(0x2cf6cf8), "ea-php81", "ea-php81", ...) called at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 948 Cpanel::WebServer::Supported::apache::set_vhost_lang_package(Cpanel::WebServer::Supported::apache=HASH(0x2dd5108), "vhost", "ravesta.com", "lang", Cpanel::ProgLang::Supported::php=HASH(0x2cf6cf8), "package", "ea-php81", "userdata", ...) called at /usr/local/cpanel/Cpanel/WebServer.pm line 451 Cpanel::WebServer::__ANON__(Cpanel::Exception::IO::FileLockError=HASH(0x2f104b8)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 121 Try::Tiny::try(CODE(0x2d31868), Try::Tiny::Catch=REF(0x2ccfea0)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 456 Cpanel::WebServer::set_vhost_lang_package(Cpanel::WebServer=HASH(0x2ccbd80), "vhost", "ravesta.com", "package", "ea-php80", "user", "msowards", "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(0x2c74490), Try::Tiny::Catch=REF(0x2b95c28)) called at /usr/local/cpanel/Cpanel/WebServer.pm line 536 Cpanel::WebServer::set_vhost_lang_packages(Cpanel::WebServer=HASH(0x2ccbd80), "skip_userdata_cache_update", 1, "user", "msowards", "vhosts", ARRAY(0x2c2da10), "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(0x2b96300)) 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(0x25f65c0), 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(0x25500d8), "ea-php80", "ravesta.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", 1001, "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", 1001, "args", ARRAY(0x24d9528), "function", "UPDATE_VHOST_CPANEL", ...) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 222 Cpanel::AdminBin::Server::_request_handler(Cpanel::AdminBin::Server=HASH(0x24d9030), HASH(0x24d9468), 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(0x24d9180), "Cpanel::Exception::ProcessNotRunning", CODE(0x24d91f8)) called at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 126 Cpanel::AdminBin::Server::handle_cpwrapd_request(Cpanel::AdminBin::Server=HASH(0x24d9030), HASH(0x24d8eb0)) called at /usr/local/cpanel/Cpanel/Server.pm line 2455 Cpanel::Server::handle_cpwrapd_connection(Cpanel::Server=HASH(0x22d1260)) 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 "
Any help would be awesome! Thanks in advance!
-
Hello,
It appears that the issue initially stemmed from insufficient privileges for the user "msowards,"
leading to the inability to apply the PHP version to the domains.
If you are attempting to apply the PHP version from the .htaccess' file, try using one of the following
handlers:
AddHandler application/x-httpd-alt-php81__Isphp.php
or
AddHandler
application/x-httpd-php81.php
These handlers may resolve the issue. If the problem persists, kindly share detailed error logs and
information on file permissions for further assistance. Additionally, providing general server details
would help gain a better understanding of the issue.0
Please sign in to leave a comment.
Comments
1 comment