Virtualmin and new PHP version


according to Debian themselves, and owncloud, PHP 5.4. is old now and not maintained anymore. It was suggested I upgrade to Debian 8 or upgrade PHP.

Staying on 7 for now but it can’t be upgraded from the regular debian 7 wheezy sources, so I added the dotdeb sources and those for php 5.6zts.

It all went pretty well, I always chose the default option though, which meant keeping current config files.

Here and there some php apps claimed in their logs that this and that is deprecated and that I should change some settings which I did.

My only question is, just understanding how virtualmin works, when I now create a new virtual server, (meaning adding a domain or subdomain account) will virtualmin adjust for the new PHP version or will it use some old Template config it has somewhere for the old php 5.4 config files?

My worry is that some settings syntax might be different?


There are a lot of variables in PHP support in Virtualmin, because it supports so many different PHP packages across so many different distros. I’m unfamiliar with the dotdeb PHP packages, so I don’t know how it would interact with Virtualmin.

Virtualmin, by default, copies the default php.ini file into the users configuration directory when setting up PHP (or when re-enabling it after disabling it, if you need to revert or update to the system configuration). But, Virtualmin also supports a variety of other PHP versions including many that have configuration files in other locations. It’s difficult for me to say that it’ll definitely pick up your changes, as you haven’t specified where those changes take place.

Does Virtualmin recognize the new version? (e.g. does the PHP version that Virtualmin says you have match the new one you’ve installed?)

Yeah it detects it as 5.6.18.

I think most errors are probably ownclouds coding, other PHP stuff like limesurvey and wordpress work flawlessly. Owncloud does too kind of.

If I come across too many problems I might as well do a clean debian 8 install. But smooth enough for now.


Yeah you shouldn’t need to perform a reinstall. If there’s an issue with the php.ini file being used, you can tweak it, or point it to a new default php.ini file to use as the template.