How to Change php handler from cpanel/whm

To change php handler from cpanel/whm you need to search for the option “Configure PHP and suEXEC” from whm. Home »Service Configuration »Configure PHP and suEXEC You can now see the current configuration of php from the window under the “Current Configuration” option,There are 3 drop down boxes in the  “Alter Configuration” here you can change the php handler by […]

Continue Reading…

Install maldet malware scan on server

You can install maldet malware scan on Linux server by following the below steps, Go to, /usr/local/src/ Download the tarfile using the command below, wget http://www.rfxn.com/downloads/maldetect-current.tar.gz Now extract the file , tar -xvf maldetect-current.tar.gz Change the directory where extracted files located, cd maldetect-1.4.2 Install the maldet using the script, ./install.sh Maldet will be successfully installed […]

Continue Reading…

How to Disable Cpanellogd in server

Create the file “/etc/cpanellogddisable”, It will disable cpanellogd: touch /etc/cpanellogddisable After disabling cpanellogd, you’ll need to kill the current processes of cpanellogd: ps aux | grep cpanellogd kill -9 PID Also you should need to move the following files: mv /usr/local/cpanel/cpanellogd /usr/local/cpanel/cpanellogd.bkp mv /usr/local/cpanel/libexec/cpanellogd /usr/local/cpanel/libexec/cpanellogd.bkp After doing these all, cpanellogd won’t be there on your […]

Continue Reading…

Spamd not starting in server

In some cases spamd doesn’t start along with exim in the server. To fix it use the following commands: sa-learn -D –force-expire sa-update -D /usr/local/cpanel/scripts/spamassassin_dbm_cleaner f/usr/local/cpanel/scripts/fixspamassassinfailedupdate /scripts/restartsrv_spamd If above does not fix the issue, use the following command in the server which installs spamd: /scripts/installspam It is also necessary that interface localhost is UP in […]

Continue Reading…

Changing default charset in MySQL

In order to change the default character set in MySQL follow the given steps: First login to the server as root Open the file /etc/my.cnf vi /etc/my.cnf Add the following lines below [client] section: default-character-set=utf8 Add the following lines below [mysqld] section: default-character-set=utf8 init_connect=’SET NAMES utf8′ Once done restart your mysql service. service mysql restart […]

Continue Reading…