Installation ok, but crazy old ea-php?
Hi,
So, you can bet how unhappy I am to ask this, but, is there anyway to find backported packages for ea-php54 (and eventually 56) somehow ?
Simply put: We're supposed to set up a "restoration site/cluster" in the eventuality the actual ones fail... we have access to nothing but the account backup tarballs...
Being an old seasoned sysadmin, I didn't want to use any panel system at all, but I don't have enough time to live to restore from scratch the messy tar.gzs...
I already noticed in some of them having mentions of "ea-php54" hoping it wasn't what I thought...
Alas, here goes a cPanel install... went through ok, and restored one of the feared accounts... well, I couldn't install anything less than php 7.3, and to no surprise, that accounts code relies on too many deprecated things to fathom... I even went to the extent of rewriting mysql_ functions and other hacks into the php prepend...
I hate to do this, but I do need 5.4 maybe 5.6... I know it's been out of the window since most of us left puberty... but by any chance, is there any archive deb repo I could add to get old EA packages ?
I have about 2k archives to restore, at least a quarter or a third of them use very old code, most have emails accounts + dns zones, I'm simply too old and grumpy to redevelop the whole thing :) And, because of the deepness of the tarballs (I don't know in advance what features are used or not by which original accounts or not) I can't plan on using another system (I did start writing scripts to import the archives to a more standard and square debian install, but it was only on the web part of things, no mails)
Thanks,
J./.
-
You have 2 solutions.
1) Using Imunify360's hardened php feature.
2) Installing Cloudlinux and activating old php repos with the hardened php feature.
There is no other way to use old versions from Cpanel.
Centos 7 - PHP 5.4 - 8.3
Almalinux 8 - PHP 7.2 - 8.3
Almalinux 9 - PHP 8.x
Ubuntu - Supports PHP 7.3 - 8.3.
1 -
That's an RH based Distro from the looks of it ... well, it's a one off thing (we favor deb tailored stuff but dang those web agencies leave frickin old code everywhere, kinda freightening from a security pov)
0
Please sign in to leave a comment.
Comments
2 comments