Two problems installing

#1
Hi,

I'm trying to migrate from Apache to LiteSpeed (Free version to start with) but I'm running into two problems:

1) The loading of apache configuration files (of DirectAdmin) doesn't seem to import any Vhost. I know there's a 5 vhost limit on the free version but it doesn't import any :-/
2) I can't seem to compile PHP. Every time I get that it can't extract the archive. I know I can do this manually but it seems like such a nice option to do it from the admin interface.

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

thanks a lot for your help!
 

mistwang

LiteSpeed Staff
#2
DirectAdmin create too many useless vhosts for each IP, so, the 5 vhosts limit has been reached. check your httpd.conf and make sure to place the real vhost configuration at the beginning of the configuration file.

I don't know what cause the gzip problem, maybe the source code package has corrupted.
 
#3
Thanks a lot for the reply. I moved the includes for the domains in httpd.conf a bit higher and now I get this in the lsws admin console:

Running 127.0.0.1:2080 127.0.0.1:2080
[APVH_Default] *
Running 127.0.0.1:2443 127.0.0.1:2443
[APVHost4] *
Running 85.234.150.124:2080 85.234.150.124:2080
[APVH_www.vissenkom.cjp.nl] * vissenkom.cjp.nl
[APVH_www.wannabes.be] wannabes.be
Running 85.234.150.124:2443 85.234.150.124:2443
[APVH_85.234.150.124_www.vissenkom.cjp.nl] * vissenkom.cjp.nl
Running 85.234.150.125:2080 85.234.150.125:2080
[APVH_Default] *
Running 85.234.150.125:2443 85.234.150.125:2443
[APVHost4] *
Running Default *:8088
[Example] *

So, it seems to have imported 5, wich is nice. However, when pointing my browser at them I get:

403 Forbidden

Access to this resource on the server is denied!

The public_html dirs of all domains are owned by their owners (as it should be I think) and litespeed is running as user apache.

When I go to /opt/lsws/phpbuild/5.2.5 all the files that should've been extracted are there. Can I just compile it with my normal compile options + '--prefix=/lsphp5' '--with-litespeed' '--with-config-file-path=../php'?

Thanks a lot!
 
#5
It's the same with the RC. I ran the bashscript myself and it went fine.

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 24838 100 24838 0 0 46751 0 --:--:-- --:--:-- --:--:-- 94083
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
rebuilding configure
aclocal.m4:2141: PHP_PROG_LEX is expanded from...
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
 
Top