Ok, I installed standard version (you can see it from the name) using this commands:
From instructions explained here: http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:apache:plesk
I left HTTP port at 8088.
After that I went to compile PHP, used this config:
I included xcache, in custom config directories I put ini files for xcache and php.ini, with correct xcache.so path.
When I check php with /usr/local/lsws/fcgi-bin/lsphp5 -v I see it runs with xcache and with -i I see correct settings from xcache.ini. So I think php is compiled correctly.
Now, problem is, when I go to my sites URL with :2080 I don't see my site. When I go there without 2080 port, I see it, and when I check php version, it's 5.2.17 (I compiled for Litespeed latest 5.3.6).
What happend and why, I don't know. Like it didn't collected information from Plesk configuration as it should did. Plesk is 10.0.1. This is my test server, I want to test it before I try it on my production server. What's happend, I really don't know. Test server works fine through URL (on Apache), LiteSpeed Admin console works fine, no problem there (at least I didn't see any).
But something's wrong, it didn't replaced apache server for Plesk. It shows pages when you don't have anything there. I copied my web directory in /usr/local/lsws/DEFAULT/html, here files couldn't be executed, but their contents was shown when I pointed directly to them.
Server's VPS, there's only my site, for my testing purposes. Anyway, I need it to be able to run vBulletin (v4), some perl (they need cgi-bin) and php scripts.
Code:
cd /usr/local/src
wget http://www.litespeedtech.com/packages/4.0/lsws-4.0.20-std-i386-linux.tar.gz
tar xvfz lsws*
cd lsws*
./install.sh
I left HTTP port at 8088.
After that I went to compile PHP, used this config:
Code:
--prefix=/lsphp5 --with-litespeed --with-libdir=lib --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-config-file-scan-dir=/etc/litespeed/php.d --with-config-file-path=/etc/litespeed --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --without-gdbm --with-t1lib=/usr --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pcre=shared,/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-kerberos --enable-ucd-snmp-hack --enable-shmop --enable-calendar --without-mime-magic --without-sqlite --with-libxml-dir=/usr --enable-xml --with-system-tzdata --enable-force-cgi-redirect --enable-pcntl --with-imap=shared --with-imap-ssl --enable-mbstring=shared --enable-mbregex --with-ncurses=shared --with-gd=shared --enable-bcmath=shared --enable-dba=shared --with-db4=/usr --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl --with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config --enable-dom=shared --with-pgsql=shared --enable-wddx=shared --with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-xmlwriter=shared --with-curl=shared,/usr --enable-fastcgi --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr --enable-json=shared --enable-zip=shared --with-readline --enable-dbase=shared --with-pspell=shared --with-mcrypt=shared,/usr --with-mhash=shared,/usr --with-tidy=shared,/usr --with-mssql=shared,/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-posix=shared --with-unixODBC=shared,/usr
When I check php with /usr/local/lsws/fcgi-bin/lsphp5 -v I see it runs with xcache and with -i I see correct settings from xcache.ini. So I think php is compiled correctly.
Now, problem is, when I go to my sites URL with :2080 I don't see my site. When I go there without 2080 port, I see it, and when I check php version, it's 5.2.17 (I compiled for Litespeed latest 5.3.6).
What happend and why, I don't know. Like it didn't collected information from Plesk configuration as it should did. Plesk is 10.0.1. This is my test server, I want to test it before I try it on my production server. What's happend, I really don't know. Test server works fine through URL (on Apache), LiteSpeed Admin console works fine, no problem there (at least I didn't see any).
But something's wrong, it didn't replaced apache server for Plesk. It shows pages when you don't have anything there. I copied my web directory in /usr/local/lsws/DEFAULT/html, here files couldn't be executed, but their contents was shown when I pointed directly to them.
Server's VPS, there's only my site, for my testing purposes. Anyway, I need it to be able to run vBulletin (v4), some perl (they need cgi-bin) and php scripts.