Upgrading the Apache Server 


apacheg.png apg

In this part of this tutorial we will teach you how to upgrade Apache Server on port 80.

Before starting this operation, it is necessary to close all open terminals, especially the Apache Server on port 80.


 H:/ 


Remember that

H:/Apache64

Folder for the Apache Server running on port 80
and

H:/MySQL8

Folder for the MySQL Community Server
and

H:/php7-64

Folder for the PHP Hypertext Processor version 7.4.XX
and

H:/WEB

Folder for the localhost



 H:/ 

Open this folder:

H:/Apache64

ap30.png apb



For security reasons, rename the folder:

H:/Apache64/apache24

to

H:/Apache64/apache24old

ap31.png apb

The reason for this renaming is that if something goes wrong during the update process, this folder can be recovered.



Unzip the file:

H:/WEB/temp/httpd-2.4.XX-win64-VS16.zip

to

H:/Apache64

ap32.png apb


Unzip this file in the same folder where the current version of Apache Server is installed.

You will be alerted about whether files should be replaced or not.

Answer yes to replace the current files.

4 items between files and folders.


ap33.png apb

Apache Server is initially upgraded.

However, it cannot yet be used, as a fundamental procedure is missing.

This folder now contains 5 items.


 H:/Apache64/Apache24old 

Open the

H:/Apache64/Apache24old/conf

folder.

ap34.png apb


 H:/Apache64/Apache24old/conf 

Copy the highlighted file,
( CTRL+C ):

H:/Apache64/Apache24old/conf/httpd.conf

ap35.png apb

This file is the Apache Server settings file instituted during its original installation.


 H:/Apache64/Apache24/conf/httpd.conf 

Replace the default settings file distributed with the version,
( CTRL + V ):

H:/Apache64/Apache24/conf/httpd.conf

ap36.png apb

The Apache Server is finally updated, so ready to be used.

Therefore, all open folders can be closed.


 Desktop -> httpd.exe - Shortcut 

To find out if the update works, just activate the shortcut to the Apache Server on port 80 previously placed on your computer's Desktop

ap14.png apb


 localhost/info.php 

With the display of this partial table, it is proven that the Apache Server on port 80 is upgrated.

ap38.png apb


The Apache Server on port 80 is now upgraded ready to run PHP - Hypertext Preprocessor as a server-side application.

For now, you can close your browser and the Apache Server on port 80 terminal.




If everything is in compliance, the folder:

H:/Apache64/Apache24old

can be deleted.

ap39.png apb

The folder has now returned to have 4 items.



Next step:
Upgrading the MySQL Server