Feedback
Did this article resolve your question/issue?

   

Article

How to install Apache HTTP Server on Windows Server?

« Go Back

Information

 
TitleHow to install Apache HTTP Server on Windows Server?
URL NameHow-to-install-Apache-HTTP-Server-on-Windows-Server
Article Number000123774
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: Windows Server
Question/Problem Description
How to install Apache HTTP Server on a Windows Server?
Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution
To install an Apache HTTP Server:

Step 1:
  1. Navigate to Apache Website - (httpd.apache.org)
  2. Click on "Download" link for the latest stable version
  3. After being redirect to the download page, Select: "Files for Microsoft Windows"
  4. Select one of the websites that provide binary distribution (for example: Apache Lounge)
  5. After being redirect to "Apache Lounge" website (https://www.apachelounge.com/download/), Select: Apache x.x.xx Win64 link
  6. After downloaded, unzip the file httpd-x.x.xx-Win64-VC15.zip into C:/
Step 2:
  1. Open a command prompt: Run as Administrator
  2. Navigate to directory c:/Apache24/bin
  3. Add Apache as a  Windows Service:  httpd.exe -k install -n "Apache HTTP Server"  
  4. In the event of the following error follow Step 3 otherwise jump to Step 4: "The program can't start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix this problem"
  5. If after configuring Apache as a Windows service it fails to start and reports this error "Windows could not start the Apache HTTP Server on Local Computer." It is likely that Apache is not able to use the default port (normally 80) because another process is using the same port.  Open an Administrative command prompt and issue the command "netstat -anbo".  If another process is using the port which Apache is configured to listen on, modify the Listen port in the httpd.conf file of the Apache installation to use a port that is not already taken by another process. Or alter the process holding the port to use a different port so Apache can listen on this port..
Step 3:
  1. At Apache Lounge website, check the section "Apache 2.4 VC15 Windows Binaries and Modules" on the main page
  2. Download the file from the link vc_redist_x64 (I.e https://aka.ms/vs/15/release/VC_redist.x64.exe)
  3. Install Visual C++ 2017 files
  4. Repeat Step 2
Step 4:
  1. Open Windows Services and start Apache HTTP Server
  2. Open a Web browser and type the machine IP in the address bar and hit Enter
The message "It works!" should be seen.
Workaround
Notes
Last Modified Date4/30/2021 11:35 PM
Attachment 
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.