Does anyone know if there is a way to do the following via command line on CWP servers:
- Change the PHP version for an account from PHP-CGI handler to PHP-FPM handler so that the /opt/alt/php-fpm$phpfpmver/usr/etc/php-fpm.d/users/*.conf files are generated and used for PHP processes and not CGI.
- In the user panel this can be accomplished by using the PHP Selector, select the domain, then see what PHP version is being used (ex. PHP selector 7.3), then change to PHP-FPM variant, Update.
There does not appear to be any form of Admin API or scripts I can find that can accomplish this...