PHP is the dominant language on the Internet, Many cPanel customers used multiple versions of php 5.2, 5.3, 5.4 and 5.5 for their customer php application. In Cpanel, CloudLinux providing option to select among multiple PHP versions. […]
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 […]
How to Configure maldet to scan daily and get reports on mail
You can configure maldet to scan the whole server daily and get the report via mail. For that you need to follow the below steps, If you have maldet installed in your server see the next step. If not, for installing maldet click here. Go to the maldet configuration file, vi /usr/local/maldetect/conf.maldet Here you can […]
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 […]
How to check installed perl modules in the server
To check installed perl modules in the server,run following command: perl -MCPAN -e ‘CPAN::Shell->r’ […]
Way to install pcntl in cpanel server
To install pcntl: Create a file called: /var/cpanel/easy/apache/rawopts/all_php5 Add this to the file: –enable-pcntl Run easy apache with the default settings. […]
Access files through ftp
To access files through ftp: ftp://ftpuser@domain.com/ The files in directory ftpuser will be accessed. […]
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 […]
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 […]
/var/spool/exim/db/retry: unexpected file type or format
Sometimes we might face problems in receiving the emails in the inbox.While Checking the email logs we may find the error logs as follows : […]