How to Update Apache Web Server to Latest Version

This article will go over the steps to replace the old version of Apache Web Server with the current version of Apache.  The exact steps below can be followed if Apache the version currently installed is 2.4.57 or newer.

The latest version of Apache Web Server 2.4.62 can be downloaded from the link below.  

https://www.apachelounge.com/download/VS17/binaries/httpd-2.4.62-240904-win64-VS17.zip

Steps:

  1. Download zip file from the link above
  2. Extract the files – need to use the Apache24 folder

A screenshot of a computerDescription automatically generated

  1. Open Services on Phoenix Server – Right click on Apache2.4 – Click on Stop

A screenshot of a computerDescription automatically generated

Verify the Status shows nothing

A screenshot of a computerDescription automatically generated

  1. Go into C:\Program Files\Apache Software Foundation\ rename the Apache24 folder to Apache24_oldversion#

A screenshot of a computerDescription automatically generated

  1. Copy the new Apache24 to the path above.

A screenshot of a computerDescription automatically generated A screenshot of a computerDescription automatically generated

  1. Copy the httpd.conf file from the old folder (C:\Program Files\Apache Software Foundation\Apache24_2.4.57\conf) into the new Conf folder (C:\Program Files\Apache Software Foundation\Apache24\conf )

  • The existing httpd.conf file can either be overwritten or renamed and the existing file copied.  The example below shows renaming and copying the existing file.

A screenshot of a computerDescription automatically generated

Rename httpd.conf to httpd.confORIG then paste in the existing conf file from the Apache24_2.4.57 into the new Apache24 folder

A screenshot of a computerDescription automatically generated

After pasted should show both the renamed and the existing httpd.conf file in same directory

A screenshot of a software programDescription automatically generated

  1. Open the Command Prompt as Admin

A screenshot of a computerDescription automatically generated

  1. Change the path to C:\Program Files\Apache Software Foundation\Apache24\bin

A screenshot of a computerDescription automatically generated

  1. Run the following command:  httpd.exe -k uninstall

Once command is completed will show:

Removing the 'Apache2.4' service

The 'Apache2.4' service has been removed successfully.

  1. Run this command :  httpd.exe -k install

If a pop up opens for the Firewall – Click on all and then click on Allow Access button

This will show after Allowing Access:

Installing the 'Apache2.4' service

The 'Apache2.4' service is successfully installed.

Testing httpd.conf....

Errors reported here must be corrected before the service can be started.

  1. Refresh and Restart the Apache service – it should reflect the new version number

A screenshot of a computerDescription automatically generated

  1. Test Phoenix Reporting by logging in and running a report

A screenshot of a computerDescription automatically generated

Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted for approval.