Posted March 4, 20241 yr Is there a way or place in CWP i can view a list of all accounts and what PHP version they are using, i have a few/several sites that are PHP7.4 now and i dont want to open every site in the control panel and change the site to PHP8.3 Also i cannot upgrade ALL sites to php 8.3 because they dont support it yet. If needed how can i write a plugin to make it happen`?
March 4, 20241 yr Hi currently there is no way but you can search the config in .conf under user account with grep
March 4, 20241 yr Author Solution This is what i came up with: Search for PHP 7.4 grep -r "74" /home/*/.conf/webservers/ Search for PHP 8.2 grep -r "82" /home/*/.conf/webservers/ Displaying all versions grep -r "php-fpm_ver" /home/*/.conf/webservers/ I did not find that file/folder in all accounts. I dont know why
Create an account or sign in to comment