Patches & Updates Web Service Apache Update



24 Mar 2004

This document explains how to update apache Web service, PHP, FrontPage and MySQL libs on web boxes with no MySQL servers. This patch makes the same changes to apache as the MySQL 4.x upgrade, but, unlike the latter, affects web boxes without MySQL servers.

Requirements

The upgrade requires:
1. MySQL 4.x upgrade already installed on all MySQL + WEB servers.
2. OpenSSL 0.9.7c or later installed on all WEB boxes

Custom Installations

The update applies only to standard apache installations.

If you have customized H-Sphere apache modules, for instance PHP or mod_throttle, you'll have to recompile them after the upgrade.

If you have added custom apache modules, such as mod_gzip or mod_security, you'll have to disable them before the upgrade, then recompile and add them back after the upgrade.

Update Procedure

  1. Log into the control panel server as root:
    su -
  2. Back up the file /hsphere/shared/apache/libexec/libphp4.so if applicable
  3. Download the archive:
    Linux:
    # wget http://www.psoft.net/shiv/HS/u-web-my4.tgz
    FreeBSD:
    # fetch http://www.psoft.net/shiv/HS/u-web-my4.tgz
  4. Untar the archive:
    # tar xfz u-web-my4.tgz
  5. Enter the u-web-my4 directory:
    # cd u-web-my4
  6. Run the update script
    # sh update.sh

Troubleshooting

If Apache restarts, but sites do not come up, and apache log file /hsphere/local/var/httpd/log/error_log contains errors like "segmentation fault" or "child crashed", make sure to recompile custom Apache modules you may have installed, such as mod_gzip, mod_security, etc.

 



Copyright 1998-2008. Positive Software Corporation.
All rights reserved.