Upgrading Apache HTTP Server to Version 2.4.41 (March 2020), Recommended Update for AMS 5.0.15 or Earlier.

At some time after installing Adobe Media Server, you might be required to update the included Apache web server. Most commonly, this would be due to Apache HTTP server security patches or functionality upgrades.

The recommended approach to upgrading the Apache web server is to install or build the Apache server in a directory that is separate from the existing server. Then copy the contents of newly-installed directories to the existing server.

In most cases, you do not replace the existing Apache configuration files with the newer versions of these files. This is because the Apache web server installation for Adobe Media Server is pre-configured with specific modules and settings. If there are changes to the configuration files, it is usually easier to update the existing files with changes.

Before upgrading:

  1. Review any installation notes on apache.org about the differences between the current version and the new version 2.4.41 (March 2020). For example, look for renamed directives or renamed modules that would require you to merge configuration files.

  2. Make sure the currently-installed version of Apache is working correctly:

    1. Check the master log file for errors. The master.00.log file should have a line that launches the httpd process and returns 0; for example: - C:\Program Files\Adobe\Adobe Media Server 5\Apache2.4\bin\httpd -f ./conf/httpd.conf -d "C:\Program Files\Adobe\Adobe Media Server 5\Apache2.4" -n AMSHttpd -k start returned 0:

    2. Try playing videos using the “http” protocol.

  3. Check the current version of Apache and make a note of it. From a command prompt, go to AMS_Install_Dir/Apache2.4/bin and issue the following command: httpd -v

  4. Back up following directories:AMS_Install_Dir/Apache2.4/bin AMS_Install_Dir/Apache2.4/lib AMS_Install_Dir/Apache2.4/include AMS_Install_Dir/Apache2.4/modules AMS_Install_Dir/Apache2.4/manual AMS_Install_Dir/Apache2.4/icons

 

To upgrade:

  1. Stop Adobe Media Server.

  2. Follow the directions on apache.org to download and run the Apache installer. If you are using Linux, you may be required to build the Apache server on your system.

  3. Copy the following directories from the newly-installed version to the current version that was installed with Adobe Media Server: Apache_Install_Dir/bin Apache_Install_Dir/modules Apache_Install_Dir/manual Apache_Install_Dir/icons

    Note that the /conf directory, which contains the Apache configuration files, is not included in this list. You should not replace the existing configuration files with the new configuration files.

  4. Merge the configuration files, if necessary. In most cases, you will not need to merge the files. However, if the newer version of Apache includes new or renamed modules or directives, you might need to edit the configuration files to meet the new requirements.

  5. Start Adobe Media Server.

 

After upgrading:

  1. Ensure that the newer version of Apache is now available. From a command prompt, go to AMS_Install_Dir/Apache2.4/bin and issue the following command: httpd -v

  2. Recompile third-party modules, if necessary.

  3. Make sure the newly-updated version of Apache is working correctly:

    1. Check the master log file for errors or warnings. The master.00.log file should have a line that launches the httpd process and returns 0; for example: - C:\Program Files\Adobe\Adobe Media Server 5\Apache2.4\bin\httpd -f ./conf/httpd.conf -d "C:\Program Files\Adobe\Adobe Media Server 5\Apache2.4" -n AMSHttpd -k start returned 0:

    2. Try playing videos using the “http” protocol.