This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
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?
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)
I have the same question.
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)