Patches & Updates Apache 1.3.28 Update

2 Oct 2003

Positive Software has updated its H-Sphere Apache 1.3.28 packages.

Apache update for H-Sphere web servers includes:

  1. the latest OpenSSL 0.9.7c upgrade with important bugfixes;
  2. https CGI bugfix (now Miva works correctly under SSL);
  3. PHP upgraded to version 4.3.3 that supports GD2, FreeType and TTF.

The update is highly recommended. Before you perform it, you should upgrade OpenSSL on your servers to the latest version.
OpenSSL upgrade instructions

The update includes three scripts:

  • apache-cp - the Control Panel server
  • apache-webbox - all web servers
  • apache-weblite - mail servers only

One server installations need only apache-cp and apache-webbox.

Aside from apache and bind, the script also updates a few other packages.

List of updated packages


Operating Systems

The upgrade is available for RedHat 7.2, RedHat 7.3, and FreeBSD 4.5, 4.7 and 4.8. It hasn't been tested on other operating systems.


Upgrade procedure

This procedure explains how to install 1.3.28 apache upgrade on all servers with standard apache installations, including control panel server, web servers, and mail servers. Once you complete the below steps on the control panel server, don't repeat them on the web and mail servers.

  1. Log into your control panel server as root:
    su -
  2. Download the apache package from the psoft site:
  3. Unpack the contents of the downloaded archive:
    tar zxf u-hsphere.tgz
  4. Enter the unpacked directory:
    cd u-hsphere
  5. If you (1) don't have custom apache modules and (2) don't use Tomcat, simply install the update:
    and you're done.
    Alternatively, you can execute the updates step by step using the script. Run ./ --help for more info.



The old apache data is backed up into the /hsphere/local/backup directory:
mail-apache-TIMESTAMP - for webmail apache
apache-TIMESTAMP - for apache
cpapache-TIMESTAMP - for cp apache
where TIMESTAMP is unix timestamp of when the update was perfomed.


Resolving Possible Problems

Most problems related to apache update can be resolved as follows:

  1. Download the new package.
  2. Uninstall the old package.
  3. Install the new package.

This won't rewrite the old apache configuration data.

The upgrade of webserver apache may cause a php error similar to the following:

Syntax error on line 22 of /hsphere/local/config/httpd/httpd.conf:
Cannot load /hsphere/shared/apache/libexec/ into server:
Shared object "" not found
/hsphere/shared/apache/bin/apachectl startssl: httpd could not be started

The simplest solution is to recover the previous module from the backup:

# cp /hsphere/shared/apache/libexec/
# cp /hsphere/local/backup/apache-/libexes/

and start the apache web server again. This will update apache, but you'll use the old version of php.


List of Updated Packages


Linux RedHat 7.2:

Linux RedHat 7.3:

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