Install LiteSpeed on Cpanel server .!!!

Following post discuss how to install Install LiteSpeed  on Cpanel server. Login to SSH on the server running cPanel.# cd /usr/locel/src# wget http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh# chmod 700 lsws_whm_plugin_install.sh# ./lsws_whm_plugin_install.sh# rm -f lsws_whm_plugin_install.shRegister for 15days trial license:http://www.litespeedtech.com/trial/license* Login to WHM and click the ‘LiteSpeed Web Server’ button.* Click ‘Install LiteSpeed’ and let it run through the installation procedure.* Enter your license information & […]

» Read more

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

Images not loading for websites.

If you find that images are not loading in linux  server then you should disable php functions.php.ini is configuration file of PHP.Find exact path of php.ini# php -i | grep php.iniOr you can use the another command like# php.iniConfiguration File (php.ini) Path => /usr/local/libLoaded Configuration File => /usr/local/lib/php.inithen search disabled disable_function in that file and remove  “readfile” optionin in that […]

» 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
1 27 28 29 30 31