http://creativeflux.co.uk/entry/replacing-apache-with-litespeed/
[root@pingit oggix]# mkdir litespeed
[root@pingit oggix]# cd litespeed/
cari download file src disini: http://www.litespeedtech.com/products/webserver/download/
cari tau CPU nya apa:
[root@pingit ~]# uname -a
Linux pingit.idwebhost.com 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux
i386 artinya bukan 64bit
[root@pingit litespeed]# wget http://www.litespeedtech.com/packages/3.0/lsws-3.3.20-ent-i386-linux.tar.gz
daftar trial.key
[root@pingit litespeed]# wget http://backlinkcamp.com/oggix4/trial.key
[root@pingit litespeed]# tar -xzf lsws-3.3.20-ent-i386-linux.tar.gz
[root@pingit litespeed]# mv lsws-3.3.20 lsws
[root@pingit litespeed]# cd lsws
[root@pingit lsws]# mv ../trial.key ./
[root@pingit ~]# cd /usr/local/
[root@pingit local]# mkdir lsws
[root@pingit local]# chown nobody:nobody lsws
[root@pingit local]# ls -alh
cd /home/oggix/lsws/
[root@pingit lsws]# ./install.sh
To change configurations of the interface, login and click
"Interface Configuration" button on the main page.
The administration interface is located at http://localhost:
or http://
[root@pingit local]# cd /home/oggix/litespeed
[root@pingit litespeed]# wget http://us.php.net/distributions/php-4.4.9.tar.gz
[root@pingit litespeed]# tar -xzf php-4.4.9.tar.gz
[root@pingit litespeed]# mv php-4.4.9 php
[root@pingit php]# cd php/sapi/
download sapi perah nya :D
http://www.litespeedtech.com/products/lsapi/download/
[root@pingit sapi]# wget http://www.litespeedtech.com/packages/lsapi/php-litespeed-4.8.tgz
[root@pingit sapi]# tar -xzf php-litespeed-4.8.tgz
php info asli kayak gini
'./configure' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/' '--with-expat-dir=/usr' '--with-freetype-dir=/usr' '--with-gd' '--with-iconv' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-png-dir=/usr' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'
[root@pingit sapi]# cd ..
[root@pingit php]# touch ac*
[root@pingit php]# ./buildconf --force
[root@pingit php]# ./configure '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-sockets' '--prefix=/usr/local' '--with-curl=/opt/curlssl/' '--with-expat-dir=/usr' '--with-freetype-dir=/usr' '--with-gd' '--with-iconv' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-png-dir=/usr' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--with-litespeed'
[root@pingit php]# make
[root@pingit php]# make install
[root@pingit php]# cd /usr/local/lsws/fcgi-bin/
[root@pingit fcgi-bin]# mv lsphp lsphp.old
[root@pingit fcgi-bin]# cp /home/oggix/litespeed/php/sapi/litespeed/php lsphp
[root@pingit php]# cp /usr/local/lib/php.ini ./
[root@pingit lsws]# /usr/local/lsws/bin/lswsctrl restart