Appliance Servers
Showing results for 
Search instead for 
Do you mean 

Upgrading Apache?

Occasional Visitor

Upgrading Apache?

Occasional Visitor

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

Re: Upgrading Apache?

Hi Ron,

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

- From HP-Software ( ) 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 ( ) Downloads as tar-archives
Flex 3.0.3 (als source tar.gz archive)
- From as tar-archives
PHP 4.0.4.pl1 (als source tar.gz archive)
- From 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 :-) )

Occasional Visitor

Re: Upgrading Apache?


Excellent instructions, but the sa1100 runs Linux 6.2. Your instructions would work very well on HP-UX.