It will be great if PHP version for each domain can be chosen from inside the control panel. When a new domain is created , the user should be given an option whether he needs PHP 5/7
+1
+1
+1
+1
Is it possible that "Choose PHP version" can only be done for user or domain. Does vesta have some mechanism already implemented to do that? I am thinking of starting to work on this option.
As far as I know, it's possible only with PHP-FPM.
I run nginx + apache and made it possible for both fcgi and fpm here:
https://github.com/niiknow/vestacp/tree/2fc972d039824844c62f5961a89cbd1f8ef56658/rootfs/sysprepz/apache2-templates
https://github.com/niiknow/vestacp/tree/2fc972d039824844c62f5961a89cbd1f8ef56658/rootfs/sysprepz/nginx-templates
https://github.com/niiknow/vestacp/blob/master/docs/images/php-fpm.png
+1
+1
Most helpful comment
I run nginx + apache and made it possible for both fcgi and fpm here:
https://github.com/niiknow/vestacp/tree/2fc972d039824844c62f5961a89cbd1f8ef56658/rootfs/sysprepz/apache2-templates
https://github.com/niiknow/vestacp/tree/2fc972d039824844c62f5961a89cbd1f8ef56658/rootfs/sysprepz/nginx-templates
https://github.com/niiknow/vestacp/blob/master/docs/images/php-fpm.png