|
|

03-30-2011, 11:06 PM
|
|
Member
|
|
Join Date: Mar 2011
Posts: 18
|
|
Install on CentOS5.5, Plesk, need to work with vBulletin
Ok, I installed standard version (you can see it from the name) using this commands:
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
From instructions explained here: http://www.litespeedtech.com/support...i:apache:plesk
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
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.
|

03-30-2011, 11:18 PM
|
|
Member
|
|
Join Date: Mar 2011
Posts: 18
|
|
I just played with some options, it seems that directory of my site isn't imported and when I set it manually, Litespeed console says that directory is unreadable. 
|

03-30-2011, 11:31 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,291
|
|
|
1.
#netstat -ntlp
to check if litespeed is running
2.try run litespeed on port 80 to see if it works:
--- stop Apache, change Apache Port Offset to 0, restart LSWS, all hosted web sites are powered by LiteSpeed now.
3. since not for shared hosting setup, try
PHP suEXEC => No
|

03-30-2011, 11:41 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,291
|
|
|
build php may have problem. for all option with "shared", need build additional .so as well. or remove all "shared", rebuild php again.
|

03-30-2011, 11:57 PM
|
|
Member
|
|
Join Date: Mar 2011
Posts: 18
|
|
Litespeed is running. I stoped Apache, but there's still error. It opens default Apache page, but of course, servered with Litespeed. 
I'll try later with rebuilding php, and report what's going on.
I don't know why, but it just doesn't show what I have in my htmldocs directory. Like it didn't imported all of Plesk configurations. 
|

03-31-2011, 11:09 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,389
|
|
|
how many vhosts in plesk? keep in mind that standard lsws only takes 5 vhosts from apache config.
|

03-31-2011, 12:19 PM
|
|
Member
|
|
Join Date: Mar 2011
Posts: 18
|
|
I have only one site (vhost), just for my site, I'm not in hosting my server to others.
When I was installing, I didn't choose to have PHP installed right away, but I compiled it afterwards.
These are errors I see when I go to web console:
Quote:
2011-03-31 08:49:41.468 WARN [] can't set 'Forced Type', undefined MIME Type handler/default-handler
2011-03-31 08:49:41.474 WARN [] can't set 'Forced Type', undefined MIME Type handler/default-handler
2011-03-31 08:49:41.474 WARN [] can't set 'Forced Type', undefined MIME Type handler/perl-script
2011-03-31 08:49:41.475 WARN [] can't set 'Forced Type', undefined MIME Type handler/default-handler
2011-03-31 08:49:41.476 WARN [] can't set 'Forced Type', undefined MIME Type handler/default-handler
2011-03-31 08:49:41.477 WARN Standard Edition only support up to 5 Apache vhosts.
2011-03-31 08:49:41.478 WARN [] can't set 'Forced Type', undefined MIME Type handler/default-handler
|
There's only this virtual host in settings:
Example $SERVER_ROOT/DEFAULT/
As I see it, for some reason process of importing my virtual host (as I have only one) didn't succeded. Any suggestions?
I would probably try to reinstall it from the beginning, but do you have some suggestions, what should I try before? My test server is VPS, on Virtuozzo.
Procesor GenuineIntel, Intel(R) Xeon(R)CPU E5520 @ 2.27GHz
Version Parallels Plesk Panel v10.0.1_build109101029.17 os_CentOS 5
OS Linux 2.6.18-028stab070.3
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:55 PM.
|
|