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

[cobalt-users] Re: Upgrading to Apache 1.3.12 on RaQ3



Steven- you don't need to upgrade to 1.3.12 and you don't even need the 1.3.6
source tree.

Just download the 4.0.1pl2 source untar then
cp /usr/sbin/apxs /tmp
vi /tmp/apxs
find the line that reads:
my $CFG_SBINDIR       = '/usr/bin';       # substituted via APACI install
change to:
my $CFG_SBINDIR       = '/usr/sbin';       # substituted via APACI install

then:
./configure --with-apxs=/tmp/apxs
make
su
make install

add any other --with directives such as --with-mysql, etc. If you want to use the
MySQL libraries included with MySQL is think you need a --with-mysql pointing to
the mysql source tree.

now, you'll need to cp the php.ini-dist or php.ini-optimized to
/usr/local/lib/php.ini and modify it to taste. To get apache to load the module,
edit your /etc/httpd/conf and add only:

LoadModule php4_module        /usr/lib/apache/libphp4.so

and...

/etc/rc.d/init.d/httpd reload

You're good to go.

Donald Saltarelli
djs@xxxxxxx


From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>, <cobalt-developers@xxxxxxxxxxxxxxx>
Date: Mon, 17 Jul 2000 10:17:12 -0400
charset="iso-8859-1"
Subject: [cobalt-users] Upgrading to Apache 1.3.12 on RaQ3
Reply-To: cobalt-users@xxxxxxxxxxxxxxx

Has anyone successfully upgraded Apache on a RaQ3 from 1.3.6 to a more recent
version, especially 1.3.12?  I am trying to install PHP4.0 from source, which
requires Apache to be recompiled so I decided to use Apache 1.3.12.  After copying
the new httpd binary to /usr/sbin/httpd and restarting httpd I got the following
error:

Setting up Web Service: Syntax error on line 267 of /etc/httpd/conf/httpd.conf:
Invalid command '<Perl>', perhaps mis-spelled or defined by a module not included
in
the server configuration

I then compared the output of httpd -l for the original httpd binary and the new
httpd binary and noticed that mod_define.c, mod_perl.c and mod_ssl.c are not
present
in the new binary.  I am sure the error I was getting is mod_perl related and I've
downloaded the source for mod_perl-1.24.  Will this version of mod_perl work?  Any
tips or instructions for making this work?  At the least, please let me know
whether
you've tried to upgrade Apache on a RaQ3 and whether it did or did not work.

And if there's a way to install PHP4.0 without recompiling Apache, please
enlighten
me.

Steven Werby {steven-lists@xxxxxxxxxxxx}