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.
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
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.
- Log into the control panel server as root:
- Back up the file /hsphere/shared/apache/libexec/libphp4.so if applicable
- Download the archive:
# wget http://www.psoft.net/shiv/HS/u-web-my4.tgz
# fetch http://www.psoft.net/shiv/HS/u-web-my4.tgz
- Untar the archive:
# tar xfz u-web-my4.tgz
- Enter the u-web-my4 directory:
# cd u-web-my4
- Run the update script
# sh update.sh
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.