o find your php.ini file all you need to do is enter the following command into your SSH Terminal. php -i | grep php.ini It will show you the directory copy and paste the directory, mainly the url (/usr/local/lib/) as bellow: root@hostname [~]# php -i | grep php.ini Configuration File (php.ini) Path => /usr/local/lib Loaded […]

OK, so you wish to block a IP range from your server using cPanel/WHM. We’ve always recommended CSF for the firewall on your VPS running cPanel and to do this on CSF go to the ConfigServer Security&Firewall then do the following: If the IP was: 12.345.678.90 Quick Deny Red block type in: To deny IP Range: […]

Getting the error in ConfigServer Firewall? /dev/shm is not mounted with the noexec,nosuid options (currently: none). You should modify the mountpoint in /etc/fstab for /dev/shm with those options and remount. Simply follow the following: Use the command: nano /etc/fstab Replace this line: tmpfs /dev/shm tmpfs defaults 0 0 With this one: tmpfs /dev/shm tmpfs defaults,noexec,nosuid 0 0 Then […]