04-26-2008, 05:04 PM
Join Date: Aug 2007
Hmmm. So are you saying that LSWS Std no longer offers to install a pre-built PHP or the option to install a PHP cache? If yes, that would certainly be a step backwards.
Originally Posted by mistwang
You should use the admin console to build your own PHP and opcode cache binary now.
At the moment those options still are in install.sh and IMHO should stay in the install procedure for LSWS as it makes setting up a LSWS quick and easy (when the script works).
Anyway, I just downloaded the 3.3.11 installer and ran it again.
The LSWS Std installer still barfs because it can't find the right eaccelerator .gz off your own web site. (See below).
At a minimum you should either fix the install script or upload the correct file onto your server that the script is looking for so that install runs smoothly:
You can setup a global script handler for PHP with the pre-built PHP engine
shipped with this package now. The PHP engine runs as Fast CGI which
outperforms Apache's mod_php.
You can always replace the pre-built PHP engine with your customized PHP
Setup up PHP [Y/n]: Y
Suffix for PHP script(comma separated list) [php]:
Installing, please wait...
PHP Opcode Cache Setup
In order to maximize the performance of PHP, a pre-built PHP opcode cache
can be installed automatically. An opcode cache increases performance of
PHP scripts by caching them in compiled state, the overhead of compiling
Note: If an opcode cache has been installed already, you do not need to
change it. If you built PHP binary by yourself, you need to built
PHP opcode cache from source as well, unless the version of your
PHP binary is same as the pre-built PHP opcode cache built for.
Would you like to change PHP opcode cache setting [y/N]? Y
Please select from the following third party opcode cache for PHP
0. No Cache
1. Alternative PHP Cache (APC)
Please select (0-2) ? 2
Resolving www.litespeedtech.com... 22.214.171.124
Connecting to www.litespeedtech.com|126.96.36.199|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:49:39 ERROR 404: Not Found.
[WARN] Can not retrieve binary package for eaccelerator from www.litespeedtech.com,
please download it manually from
or build binary from source code.
Please make a symbolic link from eaccelerator.so.4.4.8 to
AWStats is a popular log analyzer that generates advanced web server
statistics. LiteSpeed web server seamlessly integrates AWStats into
its Web Admin Interface. AWStats configuration and statistics update
have been taken care of by LiteSpeed web server.
Note: If AWStats has been installed already, you do not need to
install again unless a new version of AWStats is available.
Would you like to install AWStats Add-on module [y/N]? Y
Resolving easynews.dl.sourceforge.net... 188.8.131.52
Connecting to easynews.dl.sourceforge.net|184.108.40.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,089,638 (1.0M) [application/x-tar]
100%[====================================>] 1,089,638 1.95M/s
15:50:30 (1.95 MB/s) - `awstats-6.7.tar.gz' saved [1089638/1089638]
[INFO] Creating a symbolic link from './awstats-6.7' to './awstats'
[OK] AWStats 6.7 has been successfully installed as a litespeed
Congratulations! The LiteSpeed Web Server has been successfully installed.
Command line script - "/opt/lsws/bin/lswsctrl"
can be used to start or stop the server.
It is recommended to limit access to the web administration interface.
Right now the interface can be accessed from anywhere where this
machine can be reached over the network. Three options are available:
1. If the interface needs to be accessed only from this machine, just
change the listener for the interface to only listen on the loopback
interface - localhost(127.0.0.1).
2. If the interface needs to be accessible from limited IP addresses or sub
networks, then set up access control rules for the interface accordingly.
3. If the interface has to be accessible via internet, SSL (Secure Sockets
Layer) should be used. Please read respective HOW-TOs on SSL configuration.
To change configurations of the interface, login and click
"Interface Configuration" button on the main page.
The administration interface is located at http://localhost:<ADMIN_PORT>/
Would you like to have LiteSpeed Web Server started automatically \nwhen the server restarts [Y/n]? Y
[OK] The startup script has been successfully installed!
Would you like to start it right now [Y/n]?
[OK] lshttpd: pid=17904.
LiteSpeed Web Server started successfully! Have fun!