When attempting to change the PHP handler for a PHP version you will get the following error:
(XID xukatg) The system failed to set the user ID to “1023” and the group ID to “99”
on “GLOB(0x1e12b00)” because of an error: Operation not permitted at
/usr/local/cpanel/bin/rebuild_phpconf line 168.
When changing the PHP handler the system will need to go through and change .htaccess directives to match the new handler. When it is unable to due to file ownership it will give the above error.
The user ID given in the error is the 1st step in finding which account has the .htaccess which is causing the issue.
The system failed to set the user ID to “1023”
This ID can be used to find the user using the following command:
The username that appears is the account with the issue. To find the issue quickly, you can used the following command:
find /home/$user ! -group $user -name ".htaccess"
* $user is the user given in the above command
The .htaccess that it finds will need to be corrected with its correct owner
chown $user:$user /path/to/.htacces
* /path/to/.htacces is the .htaccess full path in the above command
From here you should be able to change the Handler from this point