Install ImageMagick on the Cpanel server.

ImageMagick is one of the most requested add-ons that allows for image manupulation.    First, you should check GD on the server , it can be complied through easyapache.First check Imagemagick on the server/scripts/checkimagemagick=======================================Installation ImageMagick  on the server/scripts/installimagemagickInstallation will take a couple minutes as it will install other packages needed by ImageMagick.==========================================================Check version of Imagemagick/usr/bin/convert –versionIt will show somthing below […]

» Read more

How to update webalizer.

Some times , weblizer doesn’t update automatically. You  have to update manually update it. Follow the below steps to update manually update webalizer. =============================================================/usr/local/cpanel/3rdparty/bin/english/webalizer  -N  10  -D/home/username/tmp/webalizer/dns_cache.db -R 250 -p -n domain.com -o/home/username/tmp/webalizer/usr/local/apache/domlogs/domain.com=============================================================== Replace username and domain name of your hosting account.

» Read more

Apache Optimization

httpd.conf is configuration file of apache server and all important options are stored there. httpd.conf is located at /usr/local/apache/conf/httpd.conf.vi /usr/local/apache/conf/httpd.confMaxClients (Total number of concurrent connections.)It should be set reasonable value because if set high value then there is chance a complete server hang in case of a DOS attack. It can set value as per hardware configuration . If you […]

» Read more

Directory Index Forbidden Error !!

If you get below in error in error_log========================================[Thu  Sept 13  02:09:32 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /home/domainusername/public_html/[Thu  Sept 13  02:09:32 20129] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /home/domainusername/public_html/==================================================Then you need to add below code in .htaccess file.==================================DirectoryIndex index.htmlorDirectoryIndex index.php==================================and then check your site.

» Read more

Fatal error: Class ‘PDO’ not found in …includes/database/database.inc on line 184

Fatal error: Class ‘PDO’ not found in …includes/database/database.inc on line 184~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~While browsing domain if you get above error then –Please try to resolved issue with following steps. PDO support had been compiled in, but not enabled .Our server has PHP 5.2.x and 5.3x installed, with PDO support.Adding————-extension=pdo.so extension=pdo_mysql.so————-to php.ini solved the problem.Steps: 1. Create php.ini file 2. Add two lines————-extension=pdo.so […]

» Read more

Clear/Free/Remove Cache memory from Linux Server

Clear/Free/Remove Cache memory from Linux Server ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Please use belwo command to clear Cache memory from Linux Server free -m echo 1 > /proc/sys/vm/drop_caches ======= eg :BEFORE :root@lnx [~]# free -mtotal used free shared buffers cachedMem: 12001 11614 386 0 2026 6996-/+ buffers/cache: 2592 9409Swap: 1907 0 1907 root@lnx [~]# echo 1 > /proc/sys/vm/drop_caches AFTER :root@lnx [~]# free -mtotal used free […]

» Read more
1 4 5 6