Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - juan4afrihost

Pages: [1]
1
I tried that by mimicking what happens in this script more or less:
Code: [Select]
/scripts/phpfpm_rebuild_user_conf
However, after creating that file, the version remains the same on the user interface. Rebuilding user configs etc also does not do the trick.

So I am guessing there is more than one place the panel gets the PHP selector data from in addition to those config files.

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

Pages: [1]