How to install Curl in LiteSpeed webserver?
Installing the curl in Litespeed is very easier process. Compiling PHP curl with the Litespeed web server is can be done by simple method displayed below.
Kindly follow the steps below to know how to install curl in litespeed webserver.

1) Go to lsws directory

# cd /opt/lsws/phpbuild/php-5.2.6/
2) Check the compiled modules with litespeed and check the current status.

# cat config.nice
# cat config.status
#cat config.nice

3) Now you need to recompile the litespeed with the module

# ./configure –prefix=/opt/lsws/lsphp5 –with-litespeed –with-config-file-path=../php –with-mysql=../mysql –with-zlib –with-zlib-dir=.. –with-gd –with-jpeg-dir=.. –with-png-dir=.. –enable-shmop –enable-track-vars –enable-sockets –enable-sysvsem –enable-sysvshm –enable-magic-quotes –with-curl=/opt/curlssl/
# make
# make test
# make install
Once the installation is complete, you can check the compiled modules using the following command

# /opt/lsws/lsphp5/bin/php -m
# /opt/lsws/lsphp5/bin/php -i |grep curl 
Thats it Litespeed is compiled with CURL module. :) 
-= by Hemanth =-

Leave a Reply