On cPanel v92 or higher, when attempting to configure a domain to make use of a CloudLinux PHP version in the PHP Selector interface, the following error is generated:
The error in itself appears to be incorrect, as the message indicates that the uapi execution was successful. Refreshing the interface should populate the desired change.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-35122. Follow this article to receive an email notification when a solution is published in the product.
Refresh the page after applying the change since the request completed successfully.