July 28, 2011

How to install LiteSpeed on a WHM/cPanel Server

Filed under: Technical Articles — admin @ 12:00 am

You can install litespeed on a WHM/Cpanel server by simply following the bellow steps.

1. Log into server via SSH as ‘root’ user.
2. Go to /usr/src
cd /usr/src
3. Download the installation file using wget.
wget http://www.litespeedtech.com/packages/cpanel/lsws_whm_plugin_install.sh
4. chmod 700 lsws_whm_plugin_install.sh
5. sh lsws_whm_plugin_install.sh ( ./lsws_whm_plugin_install.sh)
6. rm -rf lsws_whm_plugin_install.sh
7. Log into WHM. Go to manage pluggins section.
8. Start the installation procedure by clicking on ‘Install LiteSpeed’.
9. This will ask you to enter your license information and admin password. Enter these information and click on ‘Build matching PHP Binary’. (Please do not tick the box to start LiteSpeed immediately).
10. Click on ‘Switch to LiteSpeed’
11. Click on ‘Admin Web Console’ and login
12. Final stages of setup
Go to Configuration > General > Index Files > Edit
You need to set the following and save.
===============================================
Index Files: index.html, index.php, index.php5, index.htm
Auto Index: Yes
Auto Index URI => /_autoindex/default.php
In SSH Type:
ln -sf /usr/local/lib/php/autoindex /usr/local/lsws/share/autoindex
================================================
13. Go to Configuration > Log > Server Log > Edit
Set the following:
===============
Log Level: Info
Debug Level: None
===============
14. Finally click on Actions > Graceful Restart to make these changes permanent.

Now, you have successfully installed Litespeed on WHM/cpanel server.

AddThis Social Bookmark Button

July 27, 2011

How to fix ERROR: Message not sent. Server replied: Connection refused 111 Can’t open SMTP stream

Filed under: Technical Articles — admin @ 11:40 pm

You can fix this by editing exim configuration file.

steps:
1. vi /etc/exim.conf
2. Find the bellow entry
#daemon_smtp_ports = 25 : 587
3. remove the comment
daemon_smtp_ports = 25 : 587
If the port is not mentioned in exim.conf, please add it.

AddThis Social Bookmark Button

July 13, 2011

How to fix error “PHP has encountered an Access Violation at 7D611952″

Filed under: Server Tweaking — admin @ 4:00 am

You can fix this by correcting the PATH in Environment variables.

PATH %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;C:\Program Files\Intel\DMIX;C:\Program Files\ClarisoftTechnologies\iMonitorPC;C:\Program Files\QuickTime\QTSystem

Change the above line as bellow

PATH C:\php;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;C:\Program Files\Intel\DMIX;C:\Program Files\ClarisoftTechnologies\iMonitorPC;C:\Program Files\QuickTime\QTSystem

AddThis Social Bookmark Button

Powered by WordPress