Install Help!

#1
Hey, I have a VPS server and am currently trying to install the enterprise version. If this works out, I want to buy a license. :) This is crazy fast (Friend has it).

Now, I have installed the latest version of it. I have it installed in /usr/src/lsws-3.3.14/

Now, it installed fine BUT pages and open directorys are BLANK. Only HTML pages work! >< I hate this! So, I've tried to compile my own php and it doesn't work!

The errors I am getting are:
2008-06-16 23:25:10.291 WARN [config:server:listener] No listener is available for normal virtual host!
2008-06-16 23:25:10.292 ERROR [config:server:epsr:lsphp5] invalid path - /usr/local/lsws/fcgi-bin/lsphp5, it cannot be started by Web server!
2008-06-16 23:25:10.292 ERROR [config:scripthandler] Can not find handler with type: 8, name: lsphp5.
2008-06-16 23:25:10.292 ERROR [config:scripthandler] Can not find External Application: lsphp5, type: lsapi
2008-06-16 23:25:10.292 ERROR [config:scripthandler] use static file handler for suffix [php5]
2008-06-16 23:31:22.052 WARN [config:server:listener] No listener is available for normal virtual host!
2008-06-16 23:31:22.052 ERROR [config:server:epsr:lsphp5] invalid path - /usr/local/lsws/fcgi-bin/lsphp5, it cannot be started by Web server!
2008-06-16 23:31:22.053 ERROR [config:scripthandler] Can not find handler with type: 8, name: lsphp5.
2008-06-16 23:31:22.053 ERROR [config:scripthandler] Can not find External Application: lsphp5, type: lsapi
2008-06-16 23:31:22.053 ERROR [config:scripthandler] use static file handler for suffix [php5]
And during compiling I get:
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.
aclocal.m4:2141: PHP_PROG_LEX is expanded from...
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
 

mistwang

LiteSpeed Staff
#2
Maybe you need to change gcc's permission mask temporarily to "0755"

ls -l /usr/bin/gcc

chmod 0755 /usr/bin/gcc

after finish compiling, change it back.
 
#3
Hello sir, thanks for responding, sorry that didn't work. Same error.

Litespeed Web Server Enterprise v3.3.14 : Log Off

* Home
* Actions
o Graceful Restart
o Toggle Debug Logging
o Server Log
o Real-Time Stats
o Version Manager
o Compile PHP
* Configuration
o Server
o Listeners
o Virtual Hosts
o Virtual Host Templates
* Web Console
o General
o Listeners
* Help

Compile PHP: View Log

--10:39:28-- http://us.php.net/get/php-5.2.6.tar.gz/from/us2.php.net/mirror
=> `php-5.2.6.tar.gz'
Resolving us.php.net... 208.69.120.36
Connecting to us.php.net|208.69.120.36|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://us2.php.net/distributions/php-5.2.6.tar.gz [following]
--10:39:28-- http://us2.php.net/distributions/php-5.2.6.tar.gz
=> `php-5.2.6.tar.gz'
Resolving us2.php.net... 64.71.164.5
Connecting to us2.php.net|64.71.164.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12,046,184 (11M) [application/x-tar]


10:39:30 (8.00 MB/s) - `php-5.2.6.tar.gz' saved [12046184/12046184]

--10:39:31-- http://www.litespeedtech.com/packages/lsapi/php-litespeed-4.7.tgz
=> `php-litespeed-4.7.tgz'
Resolving www.litespeedtech.com... 209.151.227.121
Connecting to www.litespeedtech.com|209.151.227.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24,953 (24K) [application/x-gtar]

0K .......... .......... .... 100% 239.86 KB/s

10:39:32 (239.86 KB/s) - `php-litespeed-4.7.tgz' saved [24953/24953]

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.
aclocal.m4:2141: PHP_PROG_LEX is expanded from...
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.


Try again
Copyright
 

mistwang

LiteSpeed Staff
#6
configure:2535: checking for C compiler default output file name
configure:2538: gcc conftest.c >&5
collect2: cannot find `ld'
configure:2541: $? = 1
You should do the same permission fix for "ld" as well.
 
Top