These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Multiple versions of PHP on Debian 7 Wheezy – how? on the new forum.
Standard PHP on Debian 7 is pretty outdated, 5.4.45 currently. How can I install a newer version of PHP in such a way that
Any hints are appreciated. Cheers
Christian
Install buntu 14.04 and have PHP 5.5.9
Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.
I'd prefer to stick with Debian. How does Virtualmin implement support for multiple PHP runtimes?
Anyone from Virtualmin willing to chime in? This is beginning to be a serious issue since eg phpMyAdmin requires a never PHP than Debian 7 contains.
Howdy,
Well, you could always upgrade to Debian 8, it does contain a newer PHP version. Instructions for that process are here:
https://www.virtualmin.com/documentation/system/os/debian-wheezy-to-jess...
While Virtualmin does support having multiple PHP versions on Debian, it's no where near as simple as doing so in CentOS.
CentOS includes a special repository of packages designed to work side-by-side with those available in CentOS by default.
It's super-simple to set that up, in CentOS.
Debian doesn't have any PHP packages designed to work alongside existing ones... so unfortunately the only way to do this would be to build and maintain the PHP packages yourself.
My recommendation would probably be to upgrade to Debian 8, if you're simply looking for a newer PHP version.
However, note that you should still be able to run phpMyAdmin on your server, you'd just need to use one of the versions that works with your distro/version.
-Eric
Thanks Eric. I'm aware that there's no way in Debian to have multiple releases of PHP installed directly from the standard repositories. However, I was wondering: Does Virtualmin simply query the package management for php to find separate releases, or does it search the path or else? Is it possible to have a self-installed PHP eg in /opt/php55 and make Virtualmin recognize it?
Any help is appreciated. Regards
Christian