Page 1 of 1

PHP version compatibility

Posted: Sat Jan 18, 2020 5:39 pm
by readymad
Hello, as per Vesta instalation, HP version is 7.0, does vesta support 7.2 or 7.3 ?

Re: PHP version compatibility

Posted: Tue Jan 21, 2020 3:28 am
by plutocrat
Quick answer is that Vesta uses its own version of PHP. You can install any PHP supported by your operating system. On Ubuntu 18 (which your profile says you're using), the default is 7.2. (apt install php7.2 + modules).
You can install more updated 7.2 and 7.3 from
https://launchpad.net/~ondrej/+archive/ubuntu/php/

Re: PHP version compatibility

Posted: Fri Feb 14, 2020 2:02 pm
by carlosn
Hello,

I just installed Vesta and it is configured with PHP5.6.

PHP 7.1,2,3 are already installed on my vps, however, I can't find a way to make it work with Vesta.

Any tutorial or suggestions you could make?

Thanks,

C.N.

Re: PHP version compatibility

Posted: Fri Feb 14, 2020 9:00 pm
by tlozano
I have Centos 7.7 and today I updatrd from php 7.3 to php 7.4.

Vesta works fine and my webs (with wordpress) works fine (and quickest).

Roundcube and phpmyadmin should need to update to work.

Re: PHP version compatibility

Posted: Sat Feb 15, 2020 4:38 am
by plutocrat
Once again ... Vesta uses its own version of php which is separate from the one the OS uses. It is installed in /usr/local/vesta/php/. That is the 5.6 version currently, which some people in these forums argue is due for an update. Installing 7.0,2,3,4 on your OS has zero effect on Vesta. It will continue to use its own version of php and nginx.

There may be issues with phpmyadmin and roundcube and PHP 7.4 which run under the OS's version of PHP. Guides to upgrade these can be found in the forums and elsewhere on the internet.

You will definitely need to make sure that the apps you run under your domains (Wordpress, Joomla, whatever) are compatible with the version of PHP that you install.