Update PHP on Virtualmin with Nginx

2 posts / 0 new
Last post
#1 Tue, 04/11/2017 - 12:27
milstanyu

Update PHP on Virtualmin with Nginx

I setup Virtualmin on my new VPS based on CentOS 7 and, following the documentation on this site, successfully switched from Apache to Nginx. I see that PHP version is 5.4.16 which is outdated. I would like to upgrade to PHP 5.6 or 7. However, when I go to Server Configuration > PHP Versions I see this message only:

"Website options cannot be edited, as no Apache virtual host for hotthem.es port 80 was found!"

I followed instructions and installed PHP 5.6 for CentOS 7, and restarted my VPS, but Virtualmin still use PHP 5.4.

How to switch to higher PHP version?

Best regards, Milos

Wed, 04/12/2017 - 02:56
milstanyu

I found out answer myself, for those who might be interested this is tutorial that I followed to update PHP to 7.0: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7...

Thanks, Milos

Topic locked