Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Appliance Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrading Apache?

Ron Penna
Occasional Visitor

Upgrading Apache?

 
3 REPLIES
Ron Penna
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?
Carsten Cimander_1
Occasional Visitor

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
Highlighted
CA175698
Occasional Visitor

Re: Upgrading Apache?

Carsten,

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