- Open your php.ini file with the File Manager in cPanel
-
Add the following line of code to top of your php.ini file
date.timezone = "US/Central"
- Replace "US/Central" with the timezone from here that corresponds to the time you want to display.
- Once you have entered the desired timezone, click the Save Changes button to save the file.
- Now, you can check your phpinfo.php page to verify the change took place.
Before: After:
Apache mod_evasive Mod_evasive is a module available for the Apache HTTP server that can automatically block attacks by rate-limiting any IP that sends too many requests in a short time. Start by installing the module from WHM’s EasyApache 4 interface. Select the Currently Installed Packages profile, search for mod_evasive in the Apache Modules section, and then install it. The default settings are good for most servers, but you can tweak them further by editing the configuration file /etc/apache2/conf.d/300-mod_evasive.conf . You can also whitelist specific IP addresses or classes, so legitimate requests are not blocked. Configure CSF to block attacks While mod_evasive works very well, it only protects the Apache webserver. In order to harden other services as well, you can install the free ConfigServer Security & Firewall (CSF), which also includes a WHM plugin. As the root user, install CSF with these terminal commands: cd /usr/src rm -fv csf.tgz wget https://down
Commentaires
Enregistrer un commentaire