Category: SERVER CMD

Managing file/folder permissions and ownership

How to Manage Files & Folders Ownership and Permissions The Unix files access is controlled. There are three types of access (permissions): read write execute Each file belongs to a specific user and group (ownership). Access to the files is

Finding your php.ini

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

Block IP ranges on CSF?

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:

/dev/shm is not mounted with the noexec,nosuid?

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