Hi,
How can I run script with either or both version? I have a script that support only php4.
Thank you very much
Hi,
How can I run script with either or both version? I have a script that support only php4.
Thank you very much
What OS are you running?
I am running Virtualmin PRO on Debian and Virtualmin GPL on Centos.
Thanks Joe
The Pro version makes this pretty simple, and Debian Etch offers both PHP4 and PHP5 in their repositories.
Once you’ve installed both versions, you can go into Virtualmin, choose the domain in question, then go into Server Configuration -> PHP Versions.
From there, you can set the default PHP version to use for either the entire Virtual Host, or even change it for a specific directory.
The GPL version doesn’t offer an interface to do all that, but you could accomplish the same thing by manually editing the Apache configuration.
CentOS 5 comes with PHP5, but the GPL Virtualmin repository has a copy of PHP4 in it that you can use.
-Eric
-Eric
Debian no longer supports php4 and will be removed from its repos this month if they haven’t already.
ohhhh, I have to install it immediately on my Debian
How can I do?
Howdy,
Just remember that Scott is absolutely right, PHP4 is no longer being released or supported – if any security issue were to show up it, no updates will be made to fix it.
That said, if you’re using Debian Etch, you can see what PHP4 packages are available to you by typing this on the command line:
dpkg -l ‘php4*’
And to installed them, you could type something like:
apt-get install php4 php4-cgi php4-common php4-mysql
I really !!! DO NOT recommend using PHP4 at all anymore — You are better off and WISER to use only PHP5 and the script you are using should be converted to use PHP5.