Upgrading Apache? (282 Views)
Reply
Occasional Visitor
Ron Penna
Posts: 2
Registered: ‎10-31-2001
Message 1 of 4 (282 Views)

Upgrading Apache?

 
Occasional Visitor
Ron Penna
Posts: 2
Registered: ‎10-31-2001
Message 2 of 4 (282 Views)

Re: Upgrading Apache?

Sorry...hit enter by mistake :)

We have a (couple) SA1100's. I was looking to install a newer version of PHP on the machine than the 4.0.0 that comes with it. Unfortunately it looks like mod_so is not compiled into the stock apache. Since that sinks my hopes of installing any modules without recompiling, how would I go about recompiling the web server?
Occasional Visitor
Carsten Cimander_1
Posts: 2
Registered: ‎01-17-2002
Message 3 of 4 (282 Views)

Re: Upgrading Apache?

Hi Ron,

you need to download and install the following software (or newer versions):

- From HP-Software ( http://gatekeep.cs.utah.edu/hppd/ ) Downloads as Software-Depots
gcc 2.95.2
binutils 2.9.1
bash 2.0.4
fileutils 4.0.31
bison 1.21.5
- From HP-Software ( http://gatekeep.cs.utah.edu/hppd/ ) Downloads as tar-archives
Flex 3.0.3 (als source tar.gz archive)
- From www.php.net as tar-archives
PHP 4.0.4.pl1 (als source tar.gz archive)
- From www.apache.org as tar-archive
Apache 1.3.17 (als source tar.gz archive)

After Downloading you have to install the
Software Depots with "swinstall" or SAM.

Then you have to extract Apache TAR-Archive
and just _configure_ it:

Unpack TAR-archive to /usr/local/src:
# cd /usr/local/src
# gzip ???d apache_1.3.17.tar.gz
# tar ???xvf apache_1.3.17.tar
Configure the install scripts
# cd /usr/local/src/apache_1.3.17
# ./configure --prefix=/opt/apache --activate-module=src/modules/php4/libphp4.a


Afterwards install PHP:
- Unpacking Tar-Archive
to /usr/local/src as "root":
# cd /usr/local/src
# gzip ???d php-4.0.4.pl1.tar.gz
# tar ???xvf php-4.0.4.pl1.tar
- Konfigurieren des Installscripts
# cd /usr/local/src/php-4.0.4.pl1
# ./configure --with-apache=/usr/local/src/apache_1.3.17 --prefix=/opt/php4 --verbose
- Compile PHP and measure time
# time make
=> (Reference Compile Time:A-Class 5m11.011s)
- install PHP
# make install


Now install Apache:
- Compile Apache (the PHP module will now be integretated ??? hope so ;-) )
# make
- Install Apache
# make install

DONE. (hopefully :-) )

Regards,
Carsten
Occasional Visitor
CA175698
Posts: 1
Registered: ‎12-07-1997
Message 4 of 4 (282 Views)

Re: Upgrading Apache?

Carsten,

Excellent instructions, but the sa1100 runs Linux 6.2. Your instructions would work very well on HP-UX.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.