Тёмный

Install & Set Up Apache Web Server on Windows 10 - Quickly! 

Flavor Of The Month
Подписаться 1,3 тыс.
Просмотров 214 тыс.
50% 1

Download Apache: www.apacheloun...
How to install the Apache2.4 httpd webserver as a service on a Windows 10 machine. How to check if it's running as a service, working in your browser, and how to view error logs.
In future videos, I will explain how to install PHP and MySQL to create the WAMP stack. Comment below for feedback and suggestions for future videos.

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 174   
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 года назад
A few additional tips: Problem: httpd: Syntax error on line 39 of C:/PHP/Apache24/conf/httpd.conf: ServerRoot must be a valid directory Fix: Ensure that your Apache folder is in the proper directory, under the C:/ directory (in this example) Problem: Installed Apache Service in the wrong location? Fix: use the command "sc delete apache2.4" to delete the Apache service. If you do this, you'll have to run httpd -k install again to reinstall though
@LexGear
@LexGear 2 года назад
I had to edit the conf file and change it to the correct drive letter. Otherwise worked well.
@RolloTompson1231
@RolloTompson1231 Год назад
If you've already installed the service as well you'll need to edit the Image path as well. Go to Run, regedit, go to the directoy: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache2.4 Once you're there right click Image path and update it to the new directory you unzipped to. Full string should look like this once you're done. "C:\Apache24\bin\httpd.exe" -k runservice Mine worked after that.
@Chretze
@Chretze Год назад
You're a champion for this!
@Sxcks
@Sxcks 6 месяцев назад
@@RolloTompson1231 Yo im stuck where do i edit the image
@claybowser
@claybowser 5 месяцев назад
thanks man!
@ADHD_Gamer
@ADHD_Gamer 2 года назад
1:51 TIP SHORTCUT (FOR CMD) METHOD 1: Click your path bar in your explorer (top part that says "c:\bla\bla\bla" - delete what is there and just type "cmd" METHOD 2: Shift+Right click in a blank space within this folder and you will see a new item called "Open command window here" Hope that helps!
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 7 месяцев назад
Never knew this, thanks! Very cool trick
@betosfilm
@betosfilm 3 года назад
This video contains exactly what the title describes. Thank you! it worked perfectly!
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 года назад
Thanks for the feedback! I'm glad it worked :D
@Wiktor2802
@Wiktor2802 2 года назад
Very underrated channel! Probably the only decent video tutorial out there showing how to install apache.
@mamifero.efimero
@mamifero.efimero 10 дней назад
127.0.0.1 shows me "Access Denied", but the .html file showed me it works! Great tip!
@MoryBinM-90
@MoryBinM-90 6 месяцев назад
I'm getting a: Windows could not start the apache2.4 service on local computer. Error 2: the system cannot find the file specified. ------- Also, I've tried learning /following with lots of people on many different programming languages. This is the first time I actually understood. Thanks a bunch👍🏼
@joshualesternunez5657
@joshualesternunez5657 5 месяцев назад
you can try to type C:\Apache24\bin>httpd.exe -h install and then proceed to type httpd.exe -k install
@LouisKaranja
@LouisKaranja Месяц назад
For your errors, how did you resolve it?
@asmnazmuzzaman1703
@asmnazmuzzaman1703 Год назад
I tried Apache in 2015. Thanks for your video.
@MessyMasyn
@MessyMasyn 6 месяцев назад
10/10 tutorial, im not even overexaggerating like some people do, the tutorial does exactly the title says in 5 minutes
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 6 месяцев назад
Thanks! :D
@miwiki6
@miwiki6 11 месяцев назад
Thank you, this is the only explanation my illiterate brain was able to understand!! Saved me 👍
@crescenstan7167
@crescenstan7167 2 года назад
Thanks for this vid! One problem I had run into was the ServerRoot being linked to the wrong directory. "httpd: Syntax error on line 37 of C:/Apache24/conf/httpd.conf: ServerRoot must be a valid directory" Just a heads up to others, you must locate this file "..\Apache24\conf\httpd.conf" open and edit the var "SRVROOT" (I found this var at line 37). Change the file path to whatever folder "Apache24" is in. In my case, it was from " Define SRVROOT "C:\Apache24" " to " Define SRVROOT "C:\httpd-2.4.52-win64-VS16\Apache24" " Hope this helps anyone that may have ran into this problem!
@thahrimdon
@thahrimdon 2 года назад
You're an actual legend. I hope he sees this and adds it to the pinned comment. For anyone wondering, THIS IS THE FIX!
@taggerung_
@taggerung_ 2 года назад
thanks so much dude
@MrKnottyFit
@MrKnottyFit 10 месяцев назад
Love you brother! Thanks!
@hairyonions
@hairyonions Год назад
Just want to say this is a very good tuturiol, very quick and easy. Thank you for producing it.
@VariantBank
@VariantBank 7 месяцев назад
Thank you so much! For this to work put it in your c drive all under a folder called Apache24. Putting it under other files breaks it I guess.
@johnhill7137
@johnhill7137 3 года назад
Great video. Simplest one I have seen and installed with ease. Many thanks. Off to look at your PHP one now.
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 года назад
Thanks for the feedback! I'm working on a video for adding in the MySQL database portion as well, soon to come
@CambrielMoore
@CambrielMoore 2 года назад
Really great video and the pinned comment really helped with the installation process!
@pradeeplanka6976
@pradeeplanka6976 3 года назад
Thanks a lot. Quick and well planned guide. Everything needed is covered quickly.
@prsnm351
@prsnm351 11 месяцев назад
Thanks for the guidance, Sir.
@godlywisdomwithgrace
@godlywisdomwithgrace 10 месяцев назад
Life saver thank you so much for this video. It was quick simple and easy 🎀 may God bless you
@tractorman7733
@tractorman7733 3 года назад
thank you very much! My main server is running apache with php and sql addons, but I wanted apache installed on my laptop so when I am writing code on the go, I can test my code
@jasonjente6793
@jasonjente6793 2 года назад
pro tip when you are at that directory in file explorer instead of copying and pasting the path, type CMD and it will launch cmd to that exact path!
@theusaftechguy
@theusaftechguy 2 года назад
Super helpful, Thanks for taking the time to make this video!
@anastasiyatkachova5412
@anastasiyatkachova5412 Год назад
Thank so much! You helped me a lot. This video was short and useful!
@MCNeko6554
@MCNeko6554 Год назад
Great info! I love how quickly and concisely you went through the material. You can also just paste in the Apache24 folder's location in that config file (unless there's another reason later, because it works otherwise to get started).
@selectormillitant3286
@selectormillitant3286 2 года назад
What do you do if it says Windows could not start the apache2.4 on local computer.
@WellnessandWholeness21
@WellnessandWholeness21 4 месяца назад
It was very helpful.Thanks
@farolconservador3052
@farolconservador3052 Год назад
Subscribed. But but I see people's petty attitude, coming here, watching the video, getting the knowledge, and leaving without liking or subscribing.
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 5 месяцев назад
Thanks, much appreciated! :D
@TheRealCrispOFC
@TheRealCrispOFC 2 года назад
For me when installing it says: Could not reliably determine the server's fully qualified domain name, using fe80::dcf0:6d80:e5c1:d0c5. Set the 'ServerName' directive globally to suppress this message
@saramotamaralayefaemmanuel9772
@saramotamaralayefaemmanuel9772 8 месяцев назад
I have the same error where u able to fix it bro
@THE_DONIX
@THE_DONIX 2 месяца назад
Thankyou so much for this video❤
@erichsu5786
@erichsu5786 3 года назад
Exactly what I was looking for, thank you!
@Amranwen
@Amranwen 2 года назад
Thank you so much for this video! This really saved my day
@kaistnov3024
@kaistnov3024 2 года назад
Thank you so much for your video. It helps me a lot. Thanks sir!
@itztoofan
@itztoofan 17 дней назад
dayummmmm it works wellll!! 🍃🍃
@bwarholak
@bwarholak 2 года назад
Thanks! This is just what I needed :)
@Mr.Dirkelz
@Mr.Dirkelz 6 месяцев назад
Hey, I would like to see the rest of the videos
@AJAYKUMAR-gu7yj
@AJAYKUMAR-gu7yj 3 года назад
Thanks it worked for me
@TruongTran-rd3cy
@TruongTran-rd3cy 4 месяца назад
Thank u !! it works for me
@kech-agmaio8620
@kech-agmaio8620 3 года назад
i love this guy
@neas00
@neas00 Год назад
super helpful!!
@Anonymous-er9id
@Anonymous-er9id 7 месяцев назад
Thanks a lot, this video saved a lot of time 👍
@bantuandproud8456
@bantuandproud8456 2 года назад
1. When running cmd it says an error must be corrected before the service can be started. Syntaxes error on line 39 of C:/users/ .......... 2. Windows can't start service
@gruberaccountancy6965
@gruberaccountancy6965 3 года назад
That was sooo Groovy!
@mikeums
@mikeums 11 месяцев назад
how do we connect the local website up to the internet?!?
@mlopez1007
@mlopez1007 2 месяца назад
Good tutorial video.
@afnibi
@afnibi Год назад
Thanks its help me out and next how to install php after apache installed ?
@monoxgg
@monoxgg 3 года назад
Quick and Easy. Thanks!
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 года назад
Excellent, always want to save my viewers time & get to the true process of setting these things up! Thx for the feedback
@karagckn
@karagckn Год назад
Thank you! It really works. Great
@aaronwolfe9640
@aaronwolfe9640 Год назад
Thank you for the tutorial.
@FernandoBarretto10
@FernandoBarretto10 2 года назад
Thanks man. Congrats for it!
@subhamdey3361
@subhamdey3361 2 года назад
but notNice tutorialng seems to work. Tried built-in content, and scarlett solo. What's the hardware you have? windows mac? special soft card?
@quincyofarrell3061
@quincyofarrell3061 3 года назад
Thanks allot, nice and clear explanation...
@jesusdelarua5995
@jesusdelarua5995 Год назад
Great Help! Thank you.
@pikatheminecrafter
@pikatheminecrafter 6 месяцев назад
I would like a tutorial for getting an apache server to connect to the internet.
@diom00
@diom00 2 года назад
You are a god. I unironically cheered when it showed me at the end "It works!" P.S. it may seem simple for experienced developers but I'm a new student, and my uni's guide was hopeless so i decided to figure it out myself, which it didnt work
@rifatbhuiyan2543
@rifatbhuiyan2543 3 года назад
I'm getting this after install command "Set the 'ServerName' directive globally to suppress this message"
@rebeltime6413
@rebeltime6413 3 года назад
did you solve this problem. i am gettin it also
@SwathiBurgula3
@SwathiBurgula3 3 года назад
@@rebeltime6413 me to
@Tysuwndbbs
@Tysuwndbbs 3 года назад
What if the access get denied ?
@CarlosEduardo-nj9nz
@CarlosEduardo-nj9nz 2 года назад
Thank you it helped me a lot
@Faycal59
@Faycal59 9 месяцев назад
thanks this helped me
@lawrentiaonwumelu2911
@lawrentiaonwumelu2911 4 месяца назад
Thank you
@dkim2740
@dkim2740 10 месяцев назад
thank you well explained
@sudhakarp3519
@sudhakarp3519 9 месяцев назад
Hi , Thanks for tutorial.. Is it safe to download & Install directly in production environments or Do we need to compile apache httpd binaries before installing in production systems.. kindly answer...
@Frostrogfuly
@Frostrogfuly 3 года назад
Thank you! It was helpfull
@AnonYmous-zt6kr
@AnonYmous-zt6kr 3 года назад
Can the server be accessed publicly (not on the same network) ?
@KingHenVII
@KingHenVII 4 месяца назад
thanks a lot
@Rei-km7yj
@Rei-km7yj 3 года назад
Great video!
@sask1a41
@sask1a41 3 года назад
cool stuff really helpful!
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 года назад
Tyvm! glad this helped!
@coolvibesreloaded7946
@coolvibesreloaded7946 2 года назад
When are you going to make a video on connecting your domain
@ultrafireman
@ultrafireman 3 года назад
I can’t seem to install this on my virtual machine I get hit with an error that says “the application was unable to start correctly”
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 года назад
Sorry for the delayed response. You can find the error log for Apache, which will contain more details at: ‪C:\Apache24\logs\error.log. Perhaps your virtual machine has a different version of Windows other than Windows 10. What VM are you using?
@lavftw3808
@lavftw3808 3 года назад
Windows could not start Apache2.4 on Local Computer
@christancone243
@christancone243 2 года назад
Same issues
@RolloTompson1231
@RolloTompson1231 Год назад
The httpd.exe file depends on the extract to location being the C: drive. If you have it anyway else you have to edit the directory in the httpd.exe file. Trust me there's too much to edit. Just delete the file and re-extract the zip file to the C: drive. If you've already installed the service as well you'll need to edit the Image path as well. Go to Run, regedit, go to the directoy: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache2.4 Once you're there right click Image path and update it to the new directory you unzipped to. Full string should look like this once you're done. "C:\Apache24\bin\httpd.exe" -k runservice Mine worked after that.
@Ketoyonima
@Ketoyonima Год назад
@@RolloTompson1231 thank you so much
@Cakespresso
@Cakespresso 10 месяцев назад
@@RolloTompson1231 good lookin bro, thank you!
@adnanbennasare9291
@adnanbennasare9291 9 месяцев назад
thanks
@itztoofan
@itztoofan 17 дней назад
I have a problem, i followed all your steps now the website is live and running in my pc but how to run it on other devices. I simply means I wanna show my friends what I did but the ip address is not working for them😅
@itztoofan
@itztoofan 17 дней назад
Any solutions on relation to this issue please
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 17 дней назад
@@itztoofan I could make a tutorial for this next. I suppose I've kind of dragged my feet on it because hosting an apache server publicly online comes with a lot of security risk. This tutorial is more so for the first step, which many people use for local/company networks. I'm curious to hear your thoughts though!
@victoriakopp8321
@victoriakopp8321 3 года назад
Hi! When I put 127.0.0.1: Opens a page: Apache/2.4 OpenSSL This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly, but has not yet been configured. What can I do?
@teobellverwhite3562
@teobellverwhite3562 3 года назад
did you solve it?
@kostas6915
@kostas6915 Год назад
Very nice video. Question, is it possible to install apache in a VM in a local pc and also install django there and server this out to internet, or for more practical purposes to a intranet or network?
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel Год назад
In many cases, the server will be virtually hosted on a cloud platform like "digital ocean" to accomplish this. You could put the server with Django on either your local computer, a VM on your local computer, or a VM on a server hosting platform, if desired. Generally speaking, most people/companies host the server on a virtual hosting service that they pay for, so they don't have to deal with any of the hardware issues of running their own server.
@viorelpaluta3815
@viorelpaluta3815 Год назад
ty a lot bro
@JoelARuiz-js1vy
@JoelARuiz-js1vy Год назад
Good job
@weaponkid1121
@weaponkid1121 2 года назад
What keyboard are you using and what switches?
@adriyear
@adriyear 3 года назад
THANKS A LOT
@bhagvaangodiswarallahkhudaparv
@bhagvaangodiswarallahkhudaparv 3 года назад
how to make server for global access??
@wellington18m
@wellington18m 3 года назад
Hello there. Please could you make a video on how to host .net core app using apache. Thanks in advnace!
@Slogyo
@Slogyo Год назад
I keep getting error 5, access is denied. I am using admin account and running as administrator
@benjaminmoon4554
@benjaminmoon4554 3 года назад
When I try to start the service I get a services message that says "windows could not start the Apache2.4 on local computer...refer to service-specific error code 1." Do you have any advice for how to resolve this issue? Thank you.
@olala-j7g
@olala-j7g 3 года назад
same $hit
@lavftw3808
@lavftw3808 3 года назад
Same error message
@mo3iz689
@mo3iz689 2 года назад
up
@professorpennies
@professorpennies 2 года назад
please tell me if you find out how to fix
@christancone243
@christancone243 2 года назад
@@professorpennies Found it?
@orlinchirinos1981
@orlinchirinos1981 2 года назад
The installation went well except for the error I get from httpd: Syntax error on line 39 of C:/PHP/Apache24/conf/httpd.conf: ServerRoot must be a valid directory. I can't seem to get it fixed right. I need help! Can you give me an example?
@ESEben10
@ESEben10 2 месяца назад
So, if I would like to add a java script or css file, I'd do it on the htdocs folder?
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 2 месяца назад
Yep, that's correct. You can either add new files in the htdocs folder, or just write the javascript/css directly into the index.html file.
@ESEben10
@ESEben10 2 месяца назад
@@FlavorOfTheMonthChannel Thank you! Could you please leave the link to the next video where you add PHP if it exists? I couldn't find it on your channel.
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 2 месяца назад
@@ESEben10 Sure! Here it is: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VwObm3qvS3Q.html
@peterSobieraj
@peterSobieraj Год назад
Can I somehow just lunch it, without installing ?
@Mahfoudh_
@Mahfoudh_ Год назад
thnk you
@Vincent-fo9ie
@Vincent-fo9ie 2 года назад
hello! i would like to ask whether i can later connect this to a mysql platform? thanks!
@littlebee3431
@littlebee3431 Месяц назад
I cannot start Apache services from 3:20 :(
@worldrecipes9502
@worldrecipes9502 Год назад
After starting the service I am getting an alert saying "Windows could not start the Apache 2.4 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service- specific error code 1." Please help 🙏
@MrDondi01
@MrDondi01 4 дня назад
How you solve it?
@aaronvonheimburg4498
@aaronvonheimburg4498 3 года назад
so good
@1Mouad
@1Mouad 5 месяцев назад
i got a problem when i install how to uninstall it ?
@therandomman4765
@therandomman4765 Год назад
Hey, how would one enable a mod_rewrite?
@mrraindrop2044
@mrraindrop2044 Год назад
god bless you
@anything.with.motors
@anything.with.motors Год назад
Could not get services to start apaches. Somthing about sintax line 39 being wrong on cmd
@anything.with.motors
@anything.with.motors Год назад
Code 1
@manishbhosale2828
@manishbhosale2828 2 года назад
i want deploy my html file on web server how can i do that??
@FullStackDevGreg
@FullStackDevGreg 11 месяцев назад
Please How can I ssl by installing kind of self certificate
@Ec_Guy
@Ec_Guy 2 месяца назад
How to connect apche to web
@rajkumaremmadi5553
@rajkumaremmadi5553 3 года назад
it shows code execution cannot be processed!!!
@coolvibesreloaded7946
@coolvibesreloaded7946 Год назад
#FlavorOfTheMonth could you possibly do a video on installing WordPress on Apache please
@346ask
@346ask 3 года назад
How can I get SSL cert on localhost with Apache?
@Lennings82
@Lennings82 Год назад
will it autostart when the windows start? And can it read PHP?
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel Год назад
Yep, this service should start when Windows starts up. It can read PHP, but make sure you follow these steps to get PHP set up: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VwObm3qvS3Q.html
@ratmoneyg
@ratmoneyg 3 года назад
The system cannot find the file specificied. No installed service named "Apache2.4". What do I do?
@gjumper9871
@gjumper9871 3 года назад
My guess is that you are in the wrong directory. Use these commands in cmd as admin: >cd ... >cd .. >cd C:\Apache24\bin
@hd_legendzhdl2600
@hd_legendzhdl2600 3 года назад
@@gjumper9871 i have the same problem still havent been able to fix it im in the right directory
@BlueDolphinBlues
@BlueDolphinBlues 2 года назад
Mine doesn't work. 😅 Always something...
@BlueDolphinBlues
@BlueDolphinBlues 2 года назад
got it!
Далее
Apache vs NGINX
7:53
Просмотров 300 тыс.
Your Old PC is Your New Server
11:07
Просмотров 6 млн
Blue vs Green Emoji Eating Challenge
00:33
Просмотров 7 млн
@ItsMamix учу делать сигму😎
00:12
Просмотров 705 тыс.
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 646 тыс.
Install & Set Up PHP on Apache Windows 10
7:18
Просмотров 30 тыс.
Installing Apache PHP MYSQL on Windows 10
27:06
Просмотров 49 тыс.
Setup Apache Server in Windows using apache lounge
26:47
Install Linux instead of Windows 11 - Here's how!
15:10
Blue vs Green Emoji Eating Challenge
00:33
Просмотров 7 млн