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.
How to get both versions of PHP differs depending on what distro you're using; but for something like CentOS, PHP5 comes with CentOS5, and PHP4 is in the Virtualmin repo (of course, remember that the PHP folks have stopped providing security updates for PHP4).
In Virtualmin Pro, you can set which PHP version is the default for new Virtual Servers.
You can also change that for any given Virtual Server based on the domain name or even per-directory.
And you can always manually specify the PHP version by naming your file extensions either .php4 or .php5.
-Eric
Yup!
How to get both versions of PHP differs depending on what distro you're using; but for something like CentOS, PHP5 comes with CentOS5, and PHP4 is in the Virtualmin repo (of course, remember that the PHP folks have stopped providing security updates for PHP4).
In Virtualmin Pro, you can set which PHP version is the default for new Virtual Servers.
You can also change that for any given Virtual Server based on the domain name or even per-directory.
And you can always manually specify the PHP version by naming your file extensions either .php4 or .php5.
-Eric