WHM stuck on PHP 7.4
I've been trying to load a newer version of PHP with EasyApache for the a while with no luck I can't get us beyond 7.4 which has been loaded for ages.
The server has been working functionally except for the inability to get 8.X installed, I've been able to add and remove PHP versions in the past without issue but it's been a while.
The MPM loaded is: mod_mpm_prefork 2.4.46-1.el7.cloudlinux
Which out of the box seems odd to me given we're not even running cloudlinux but maybe that makes more sense to someone else.
I've tried loading 8.0.28-1.1.1.cpanel as well as 8.1 and 8.2 none of which worked which will be flagged as install as I got through the wizard.
However the review screen always shows nothing to be added, removed or upgraded.
So the fact that 8.X doesn't install isn't shocking.
I tried provisioning one of the default profiles to see if that would get me back to a point that would resolve the problem.
So I tried to provision "All PHP Options + OpCache" which contained PHP 7.2 - 7.4
That profile wanted to remove: mod_mpm_prefork 2.4.46-1.el7.cloudlinux and install: mod_mpm_prefork 2.4.46-1.el7.cloudlinux
I was hoping that was the root cause and would indeed get me to a point where I could install PHP 8.
However I ended up with former removed and the later not installed, at that point apache wouldn't start and I couldn't get anything to install no matter what I tried to provision. I ended up just reverting the entire server to a snapshot from a few hours before.
I don't know if any of this makes sense or if anyone has ran into this or something close but I've given up so I thought it was worth a try asking.
Thank everyone.
-
Hey there! That definitely seems odd, as I would expect any version available in the interface will install without issues. Are you able to successfully run a "yum update" on the machine? 0 -
That profile wanted to remove: mod_mpm_prefork 2.4.46-1.el7.cloudlinux and install: mod_mpm_prefork 2.4.46-1.el7.cloudlinux Are you ensure about it, also check your Cloudlinux license and check repository configurations at /etc/yum.repos.d (nano /etc/yum.repos.d/cl* for example to check if they're enabled and have correct hostname to work) 0
Please sign in to leave a comment.
Comments
2 comments