[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] How do I install PHP 4x on a RAQ3



if i do the make install I get the following error (btw I tried with 4.0.6)

Making install in .
make[1]: Entering directory `/usr/local/php-4.0.6'
/usr/local/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" &&
/usr/sbin/apxs -S LIBEXECDIR="/usr/lib/apache" -i -a -n
php4 libs/libphp4.so
apxs:Error: Unknown option: S
Usage: apxs -g -n <modname>
       apxs -q <query> ...
       apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
               [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
               <files> ...
       apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.6'
make: *** [install-recursive] Error 1


any ideas?

thx
Herby

----- Original Message -----
From: James Bond
To: cobalt-users@xxxxxxxxxxxxxxx
Sent: Thursday, August 16, 2001 11:45 AM
Subject: Re: [cobalt-users] How do I install PHP 4x on a RAQ3


telnet/SSH in as root :

vi /usr/sbin/apxs
replace    my $CFG_SBINDIR       = '/usr/bin';
with             my $CFG_SBINDIR       = '/usr/sbin';


tar xzf php-4.0.4pl1.tar.gz;
cd php-4.0.4pl1
./configure  --disable-posix --enable-bcmath --enable-calendar
--enable-memory-limit --enable-safe-mode --enable-ftp --enable-sockets
--with-apxs
make
make install

...snip...