Page 1 of 1

Is it possible to have PHP 5.6 and PHP 7 ?

Posted: Wed Feb 03, 2016 11:04 am
by Spheerys
I need to be able to have both PHP 5.6 and 7 on the same server.
Is it possible to select which version we want for a specific website ?

Re: Is it possible to have PHP 5.6 and PHP 7 ?

Posted: Wed Feb 03, 2016 11:20 am
by skurudo
Possible.

- make different templates based on php-cgi (for example php56-cgi and php7-cgi) and inside
- compile php from source
- edit new templates and add correct action phpcgi-script

Templates here - /usr/local/vesta/data/templates/web/apache2

Re: Is it possible to have PHP 5.6 and PHP 7 ?

Posted: Wed Feb 03, 2016 1:50 pm
by Spheerys
Thanks, I will dig in this way :)