To install Apache in windows OS/ windows server we can do in two way.
1. using msi (installer file)
2. using zip.
Here we are going to use zip.
1. First download files from
http://www.apachelounge.com/download
Select 32/64 bits and download as zip files.
2. Be sure that you have installed Visual C++ Redistributable for Visual Studio 2012 VC11 vcredist_x64/86.exe
3. After downloading, the zip file contains a folder called Apache24. Move (unzip) the Apache24 folder to C:\\ (now the webserver files are located at: C:\\Apache24).
4. The main configuration file for the server is: C:\\Apache24\\conf\\httpd.conf
5.Find Start > All programs > Accessories > Command Prompt...... BUT, right click, and select 'Run as administrator'.
1. using msi (installer file)
2. using zip.
Here we are going to use zip.
1. First download files from
http://www.apachelounge.com/download
Select 32/64 bits and download as zip files.
2. Be sure that you have installed Visual C++ Redistributable for Visual Studio 2012 VC11 vcredist_x64/86.exe
3. After downloading, the zip file contains a folder called Apache24. Move (unzip) the Apache24 folder to C:\\ (now the webserver files are located at: C:\\Apache24).
4. The main configuration file for the server is: C:\\Apache24\\conf\\httpd.conf
Using a text editor, you need to edit the entry for the Server Name to give it a name or if no domain name then use IP , remove the comment from the line:
ServerName www.example.com:80
For just use IP like ServerName www.192.198.107.2515.Find Start > All programs > Accessories > Command Prompt...... BUT, right click, and select 'Run as administrator'.
- Enter the following commands
cd \Apache24\bin httpd -k install httpd -k start
No comments:
Post a Comment