php v7.2.* safely remove from cpanel/WHM?
Hello, I am receiving security alerts from csf telling me that php v7.2.* is installed on the server and it should be disabled/deleted.
What is the preferred method to lock down or remove this version? All of my domains under "User Domain Settings" in WHM are using v7.3 but I know that 7.2 exists and csf reports:
Domains aside, would removing it or deleteing it affect other systems that may be using it but which I am unaware?
Any version of PHP older than v7.2.* is now obsolete and should be considered a security threat. You should upgrade exclusively to PHP v7.3+:
Affected PHP versions:
7.2.34 (/opt/cpanel/ea-php72/root/usr/bin/php) Domains aside, would removing it or deleteing it affect other systems that may be using it but which I am unaware?
-
You can remove it in EasyApache. 0 -
Yup, as long as you aren't using it, there's no reason you can't remove that version with EasyApache through WHM. 0 -
SOLVED: Thanks - that worked! 0 -
I know this post is a bit old but using Cloud Linux on a new build and CSF reports that /opt/cpanel/ea-php72/root/usr/bin/php exists but EA doesnt show it enabled. is it safe to remove? 0 -
@Steve Kemp - can you share the full message you're getting from CSF? 0 -
@Steve Kemp - can you share the full message you're getting from CSF?
its ok i worked out what was wrong... EBKAC error :-(0 -
I found even while trying to remove php 7,2 in EasyApache4 in the provision the ea-php72 runtime module would not uninstall. The only way i managed to get rid of it in Alamalimux was
a) to reinstall php 7,2 and all its modules in EasyApache4 t
b) then make sure in Multi PHP Manager the default version of PHP selected is not php 7.2
c) In Multi PHP Manager => User Domain Settings make sure no domains are associated with php 7.2
d) open the Terminal and runĀ
yum remove ea-php72*
After which it successfully removed the problem
0
Please sign in to leave a comment.
Comments
7 comments