Easy way to optimize apache,php & MySQL

There are 2 important scripts to optimize apache,php and mysql very easily. They are

MySQLTuner (Perl) and MySQL Performance Tuning Primer (shell)

They can help diagnose MySQL database performance issues, and provide recommendations on how to solve them.
More »

php 5.3 is now available in cpanel’s easyapache

February 2nd, 2010 No Comments   Posted in Centos, cpanel

Cpanel has released php 5.3 in easyapache but there are several features which are missing in php 5.3.

Like php 5.3 does not support Zend. However PHP 5.3.1 introduces namespaces, late static binding, decreased memory usage (YMMV), several new extensions, and improved MySQL support.  Be sure to check your scripts for compatibility before going live with PHP 5.3.1 on a production server.  Some scripts will be affected by some of the changes, so testing is extremely important.

More information can be found at

More »

Enableing passive mode in FTP server with CSF firewall

January 11th, 2010 No Comments   Posted in Centos, Firewalls, cpanel

Passive mode is always very important for ftp servers, if you are running csf firewall and cannot connect to ftp server then it means that range of passive ports is blocked in firewall. Here are simple steps

1) Add Passive Port range 30000-350000 to your Pureftp or Proftp configuration file

i) For Pure FTP

More »

Domain has exceeded the max emails per hour (200) allowed. Message discarded.

December 20th, 2009 No Comments   Posted in System Administration, Web hosting, cpanel

Some times you get error from cpanel

Domain example.com has exceeded the max emails per hour (200) allowed. Message discarded.

Simple solution for it is

echo domain.com=10000 >> /var/cpanel/maxemails

More »

The requested URL /cpanel was not found on this server

December 18th, 2009 No Comments   Posted in cpanel

The problem is when you attempt to visit “http://example.com/cpanel” and you get the following message or similar:

The requested URL /cpanel was not found on this server.

To fix this, you can add following in /usr/local/apache/conf/httpd.conf
More »


Tags: , , , ,

How to change cpanel theme from rvskin to x3

December 8th, 2009 No Comments   Posted in cpanel

ahh,,,,I changed my theme to test rvskin theme, but after that I was not able to change it back to x3

Searched on google and found this simple way.

Just run below url in address bar of browser when you are login in cpanel of your account. More »

Installing ImageMagick in Cpanel

You can install by running one command only

#/scripts/installimagemagick

You can check whether imagemagick is installed or not using

#/scripts/checkimagemagick

If this installation does not work, then you can uninstall it and install it manually

More »


Customize your default apache page in cpanel

August 11th, 2009 3 Comments   Posted in System Administration, Web hosting, cpanel

You just have to login to your server via ssh.
Navigate to /usr/local/apache/htdocs

# cd /usr/local/apache/htdocs

And finaly edit the file index.html
More »

How to add new RBLs to cpanel Exim

More then a year ago, cPanel added a future to the Exim Configuration Editor for everyone to easily select from two RBLs (spamhaus.org and spamcop.net) that can be used to filter most of the SPAM that a server receives. While this has been great for most of us (enabling a RBL is a simple as selecting a check box in WHM and pressing the Save button), there are a few admins that would have liked to add additional RBLs to the list that Exim uses to filter SPAM emails. RBLs like dnsbl.njabl.org, list.dsbl.org, dul.dnsbl.sorbs.net, etc. are all considered useful by many, but not included by default.

The question is how can such a RBL be added to Exim ?
Well it’s not that hard !
First you will have to login to your server using ssh.
After a successful login:

  1. Change directory to /usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK
    More »

How to enable Passive ftp in Pure FTPD

August 11th, 2009 1 Comment   Posted in System Administration, Web hosting, cpanel

For users that are behind a firewall it might be required that you enable passive ftp in your ftp server and client.

While enabling passive ftp in your ftp client is simple, doing so in your ftp server configuration files might be a bit tricky if you don’t know what you are doing.

This tutorial will cover Pure-FTPd, the ftp server used on most cPanel powered servers.

More »