As PHP 5.6 and 7.0 reaches end of life, VPS users will want to remove these packages to improve server security. Below we cover how to remove PHP versions using Easy Apache 4 in WHM.
Remove PHP Versions
- Login WHM as root.
- Select EasyApache 4.
- Select Customize at the top.
- Select PHP Versions on the left.
- Select the PHP version to turn it grey.
- Select Review.
- Select Provision at the bottom.
- Select Done.
Further secure your VPS with best security practices, ConfigServer & Firewall (CSF), and email authentication.