![cpanel whm server cleanup cpanel whm server cleanup](https://blog.sucuri.net/wp-content/uploads/2016/11/cpanel-whm-spam-news.jpg)
Set PermitRootLogin to ‘No PermitRootLogin no Open the SSH config file vi /etc/ssh/sshd_config So that SSH will only connect as that user. The idea behind this process is to disable Root SSH login and create a new user and add the new user or an existing user to the Wheel user group. With this setup, you can only login to the server as a desired user. So, a lways keep the SSH packages to the latest stable version. SSH/Shell is the remote connectivity tool in Linux with which users can connect to the server remotely. It is most vulnerable to Brute Force Attacks. Next change the PHP handler to suPHP and turn Apache suEXEC to ‘ON’ and finally click on "Save New Configuration". Go to WHM > Service Configuration > suEXECĢ. By enabling suPHP, the files created by PHP scripts will be owned by the website’s user account instead of the account running the Apache process.
![cpanel whm server cleanup cpanel whm server cleanup](https://hostarmada.com/uploads/tutorials/whm/apache-status/basic-apache-information.png)
Now, you must configure suPHP as the PHP handler. Otherwise, click Save and Build to begin.
#Cpanel whm server cleanup install
If there is a module you wish to install that is not on this list, select Exhaustive Options ListĨ. You can select the most commonly used Apache and PHP modules.ħ. Note: When you choose the version of PHP you wish to change to, make sure that your site works with the new version.Ħ. On the PHP Version page, select the latest stable release. Select the latest stable Apache version.ĥ.
![cpanel whm server cleanup cpanel whm server cleanup](https://www.cpanelkb.net/wp-content/uploads/2017/12/engintron.jpg)
Press over “Start customizing based on profile”.Ĥ. From here, select “Previously Save Config”. Login to WHM and go to Softwares > choose EasyApache (Apache Update).Ģ. Go to WHM and follow the steps mentioned below:ġ. While Easyapache allows you to install versions of Apache that have reached the end of life status, it is not recommended. Here you can choose which version of Apache you wish to run on your server. Unless you completely want to rebuild your apache and php configuration from the ground up, leave the selection on Previously Saved Config, then use the Tab key and the arrow keys until you have selected Start customizing based on the profile. While it can be run from WHM, it is generally preferred to run it from the command line.Īs root, on the command line, run: /scripts/easyapache
#Cpanel whm server cleanup upgrade
If you run a cPanel server and need to upgrade your Apache or PHP version, cPanel provides the Easyapache tool to make these updates a breeze.