PDA

View Full Version : ERROR when I'm trying to compile PHP5 with Litespeed


Steven.C
11-25-2006, 02:46 AM
Hi guys,

I'm new to Litespeed but I'm impressed with it's performance, it runs nicely on my FreeBSD box but I think I need to upgrade it's PHP support. What I did was follow the guide at wiki but when I trying to run 'make install' it give me an error:

freebsd# make install
Installing PHP SAPI module: litespeed
:No such file or directory
*** Error code 1

So could anyone help out of this?
Thanks/
S.G.D

mistwang
11-25-2006, 08:23 AM
We had this problem on some OS as well, seems the Makefile generated by PHP on some system want to install "mod_php.so" or something. We are not exactly sure why and have not got time to investigate.

If you need to install php libraries and other files, you can build a simple CLI version then install it. then build the litespeed binary, do not install, just copy sapi/litespeed/php to lsws/fcgi-bin/lsphp.