[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [cobalt-users] How do I install PHP 4x on a RAQ3
- Subject: Re[2]: [cobalt-users] How do I install PHP 4x on a RAQ3
- From: Richard Kurth <rkurth@xxxxxxxxxxxx>
- Date: Sat Aug 25 14:45:25 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello Herby,
I noticed somebody told you how to edit one of the lines in apxs but
you missed one edit these two lines and then you can install php 4.0.6
on a raq3
Edit following lines in /usr/sbin/apxs:
Line 80:
my $CFG_SBINDIR = '/usr/sbin'; # substituted via APACI install
^
Line 203:
($rc, @ARGV) = &Getopts("qn:gco:I+D+L+l+S+W+iaA", @ARGV);
^^
then do a make clean delete the config.cashe
and then run this of course you don't need all of these but there nice
to have
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs
--with-config-file-path=/etc/httpd/conf --with-exec-dir=/usr/sbin/httpd
--with-system-regex --disable-debug --with-zlib --enable-safe-mode
--with-gdbm --enable-magic-quotes --enable-debugger --enable-track-vars
--enable-sysvsem --with-ftp --with-imap --with-xml --with-ttf
--with-readline --with-gd --with-mysql=/usr
I have compiled php4.0.6 on many raq3 and this works every time
Wednesday, August 22, 2001, 6:32:26 AM, you wrote:
Herby K> if i do the make install I get the following error (btw I tried with 4.0.6)
Herby K> Making install in .
Herby K> make[1]: Entering directory `/usr/local/php-4.0.6'
Herby K> /usr/local/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" &&
Herby K> /usr/sbin/apxs -S LIBEXECDIR="/usr/lib/apache" -i -a -n
Herby K> php4 libs/libphp4.so
Herby K> apxs:Error: Unknown option: S
Herby K> Usage: apxs -g -n <modname>
Herby K> apxs -q <query> ...
Herby K> apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
Herby K> [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
Herby K> <files> ...
Herby K> apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
Herby K> make[1]: *** [install-sapi] Error 1
Herby K> make[1]: Leaving directory `/usr/local/php-4.0.6'
Herby K> make: *** [install-recursive] Error 1
Herby K> any ideas?
Herby K> thx
Herby K> Herby
Herby K> ----- Original Message -----
Herby K> From: James Bond
Herby K> To: cobalt-users@xxxxxxxxxxxxxxx
Herby K> Sent: Thursday, August 16, 2001 11:45 AM
Herby K> Subject: Re: [cobalt-users] How do I install PHP 4x on a RAQ3
Herby K> telnet/SSH in as root :
Herby K> vi /usr/sbin/apxs
Herby K> replace my $CFG_SBINDIR = '/usr/bin';
Herby K> with my $CFG_SBINDIR = '/usr/sbin';
Herby K> tar xzf php-4.0.4pl1.tar.gz;
Herby K> cd php-4.0.4pl1
Herby K> ./configure --disable-posix --enable-bcmath --enable-calendar
Herby K> --enable-memory-limit --enable-safe-mode --enable-ftp --enable-sockets
Herby K> --with-apxs
Herby K> make
Herby K> make install
Herby K> ...snip...
Herby K> _______________________________________________
Herby K> cobalt-users mailing list
Herby K> cobalt-users@xxxxxxxxxxxxxxx
Herby K> To Subscribe or Unsubscribe, please go to:
Herby K> http://list.cobalt.com/mailman/listinfo/cobalt-users
--
Best regards,
Richard
mailto:rkurth@xxxxxxxxxxxx