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:
- Download zip file from the link above
- Extract the files – need to use the Apache24 folder

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

Verify the Status shows nothing

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

- Copy the new Apache24 to the path above.

- 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.

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

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

- Open the Command Prompt as Admin

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

- 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.
- 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.
- Refresh and Restart the Apache service – it should reflect the new version number

- Test Phoenix Reporting by logging in and running a report
