How to install Apache Web Server on Windows 10

How to install Apache Web Server on Windows 10


Hello everybody. In this video, we gonna learn how to install
apache server on Windows 10 operating system. The first thing we gonna do is to download
apache server. open up web browser
in google search box, type apache server we will see the first result here is httpd.apache.org
we can visit the page we will use version 2.4.27 This is the latest version of stable release
when this video was created click download from here click files for Microsoft Windows we can use binaries from apache haus
or binaries from apache lounge at this time, we will use binaries of
the apache server from apache lounge click apache lounge okay go down here you can download 64bit or 32bit of the zip file corresponding to the operating system that you have to check what kind of the
system that you have, you can right click on windows icon
and click on system in this window, you can see information
which type of your system my mine is 64bit. so i am gonna download 64bit version
of the apache server click the link to download this binaries require C++ redistributable
Visual Studio 2017 so, we have to install it. we can download visual c++ redistributable from here for 64bit system
or from here for 32bit system my mine is 64bit. so, click vc_redist_x64 after its downloaded,
go to download location we will install
visual c++ redistributable first double click on it check i agree, and click install click yes okay, now right click on apache zip file
and click extract here okay now we have apache24 folder
copy this folder to C drive now we will add path
to system environment variable right click on This PC
click properties click advanced system settings on the advanced tab,
click environment variables in system variables,
find path and click edit click new
and click browse go to C drive
apache24 folder and select bin folder
okay we will install apache as a windows service
open command prompt okay right click on the app
and run as administrator click yes okay, and type httpd -k install
hit enter okay, we can allow access okay we will check apache service click on windows icon
and type services okay, open the app okay, find service with name apache24 okay, this we can start apache server
right click on it and click start okay, status is running we can test with browser open browser and navigate to http://localhost
and hit enter okay it works
thanks for watching

52 thoughts on “How to install Apache Web Server on Windows 10

  1. 'httpd' is not recognized as an internal or external command,
    operable program or batch file. buddy the command prompt is giving me this message .what to do???

  2. Thank you for a great explanation.
    I put my Apache24 in my F: drive so I set up the path accordingly and also had to change some lines in Apache24/conf/httpd.conf

  3. C:WINDOWSsystem32>httpd -k install
    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.
    httpd: Syntax error on line 72 of C:/Apache24/Apache24/conf/httpd.conf: Cannot load modules/mod_access_compat.so into server: The specified module could not be found.
    What errors must be fixed on line 73 for the service to start

  4. THANKSSSSSSSSSSSSSS MANNNNNNNNNNN!!!!!!!!!!! I could install it, and that I used "Apache Haus" and in Windows 7 🙂

  5. I get an error saying "Windows could not start the Apache 2.4 service on Local Computer. Error 2: The system cannot find the file specified". Any suggestions?


  6. This site is not secure

    This might mean that someone’s trying to fool you or steal any info you send to the server. You should close this site immediately.


    Go to your Start page
    Details
    this is what googles respond me after all what is the problem with it it says certificate error how can I fix it

  7. I don't normally comment on these things but thank you, this worked first time. Your instructions were spot on

  8. I spent HOURS searching the web for a simple HOW TO INSTALL APACHE and this was the ONLY complete, understandable, step by step set of instructions I found. Thanks for taking the time to produce this VERY helpful demonstration!

  9. i am facing issue in service apache is not starting showing error like windows will not support to local computer

  10. Installing the 'Apache2.4' service

    (OS 5)Acesso negado. : AH00369: Failed to open the Windows service manager, perhaps you forgot to log in as Adminstrator?

    for me, shor this messenger, when I put (httpd -k installed). help me please

  11. when i start the services , its says on the apache 2.4 that " windows could not start the apache 2.4 service on local computer error2:the system cannot find the file specified" — please help me

Leave a Reply

Your email address will not be published. Required fields are marked *