Removing old PHP Version

3 posts / 0 new
Last post
#1 Thu, 12/27/2018 - 08:58
kbch

Removing old PHP Version

Hello

I like to ask how Virtualmin deals with if I just delete php5 from my system. I still have some virtual servers active with php5. Is there a script I can use to automatically set them to php7?

Thanks

Sun, 03/24/2019 - 12:54
manchego

I have the same question.

Sun, 03/24/2019 - 18:38
briand

apologies if I pick up your question incorrectly.

on a recent server I installed Centos . it installs PHP 7 and 5.4. PHP 7 is the default though for each domain you can use the PHP version to change to either 7 or 5.4

however, you have to modify your PHP scripts to handle mysqli differently to mysql (exceptions get thrown otherwise)

Topic locked