How do I transfer Apache to a new Windows workstation?

Step 1

Install Microsoft Visual C++ Redistributable for Visual Studio ≥ 2015.

Step 2

Copy the Apache installation folder from another workstation:
2023-06-02--00-24-56

Step 3

Install Apache as a Windows service:

httpd.exe -k install

2023-06-02--00-27-03

Step 4

Change the service's startup type to «Manual»:
2023-06-02--01-15-39

Step 5

Start the service:

net start "Apache2.4"

2023-06-02--00-29-21

Step 6

Restart the service (for testing):

net stop "Apache2.4" && net start "Apache2.4"

2023-06-02--00-37-01