While executing EasyApache on one of my servers, I was getting the error “Base class package “Cpanel::Easy::Utils::CloudLinux” is empty” and I tried executing upcp and /scripts/checkperlmodules –full –force but of no avail.
Further investigating on this, I have found that the file /var/cpanel/perl/easy/Cpanel/Easy/Utils/CloudLinux.pm was empty and hence EasyApache throwing the error “Base class package “Cpanel::Easy::Utils::CloudLinux” is empty”.
This can be easily fixed by following the below simple steps ::
Continue reading Base class package Cpanel::Easy::Utils::CloudLinux is empty
Many times, it happens that sending emails to Gmail or few other ISP’s are getting rejected when Ipv6 networking is enabled on the server.
This is basically because, exim attempts to deliver the emails using IPv6 network by default and some times it returns the message “Network is unreachable“, specially to Gmail addresses.
This can be easily fixed by forcing exim to deliver the emails using the IPv4 IP address instead of IPv6 address.
Continue reading Disable IPv6 in Exim
suPHP is a tool for executing PHP scripts with the permissions of their owners rather than Apache user and hence improves server security.
Below are the pros and cons of SuPHP
- PHP runs as your user/group
- Max File permission of 644 and max folder permisson of 755 required to execute PHP files
- Files/folders written by PHP are written as account user/group instead of Apache user
- Allows you to configure custom php.ini for each account
- Slower than mod_php
- PHP variable settings will no longer work from .htaccess files
Setup the RPMforge repo
for Centos 6.x 64 bit
rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
for Centos 6.x 32 bit
rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Now you can install mod_suphp via yum
yum install mod_suphp
Continue reading mod_suphp installation on Plesk 11