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

  Рет қаралды 212,702

Flavor Of The Month

Flavor Of The Month

Күн бұрын

Пікірлер: 173
@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 4 ай бұрын
thanks man!
@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.
@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 6 ай бұрын
Never knew this, thanks! Very cool trick
@MessyMasyn
@MessyMasyn 5 ай бұрын
10/10 tutorial, im not even overexaggerating like some people do, the tutorial does exactly the title says in 5 minutes
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 5 ай бұрын
Thanks! :D
@asmnazmuzzaman1703
@asmnazmuzzaman1703 Жыл бұрын
I tried Apache in 2015. Thanks for your video.
@hairyonions
@hairyonions Жыл бұрын
Just want to say this is a very good tuturiol, very quick and easy. Thank you for producing it.
@MoryBinM-90
@MoryBinM-90 5 ай бұрын
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?
@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!
@CambrielMoore
@CambrielMoore 2 жыл бұрын
Really great video and the pinned comment really helped with the installation process!
@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
@pradeeplanka6976
@pradeeplanka6976 3 жыл бұрын
Thanks a lot. Quick and well planned guide. Everything needed is covered quickly.
@miwiki6
@miwiki6 10 ай бұрын
Thank you, this is the only explanation my illiterate brain was able to understand!! Saved me 👍
@VariantBank
@VariantBank 6 ай бұрын
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.
@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
@godlywisdomwithgrace
@godlywisdomwithgrace 10 ай бұрын
Life saver thank you so much for this video. It was quick simple and easy 🎀 may God bless you
@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).
@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 4 ай бұрын
Thanks, much appreciated! :D
@theusaftechguy
@theusaftechguy 2 жыл бұрын
Super helpful, Thanks for taking the time to make this video!
@selectormillitant3286
@selectormillitant3286 2 жыл бұрын
What do you do if it says Windows could not start the apache2.4 on local computer.
@anastasiyatkachova5412
@anastasiyatkachova5412 Жыл бұрын
Thank so much! You helped me a lot. This video was short and useful!
@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
@prsnm351
@prsnm351 11 ай бұрын
Thanks for the guidance, Sir.
@mikeums
@mikeums 10 ай бұрын
how do we connect the local website up to the internet?!?
@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?
@WellnessandWholeness21
@WellnessandWholeness21 4 ай бұрын
It was very helpful.Thanks
@THE_DONIX
@THE_DONIX Ай бұрын
Thankyou so much for this video❤
@kaistnov3024
@kaistnov3024 2 жыл бұрын
Thank you so much for your video. It helps me a lot. Thanks sir!
@erichsu5786
@erichsu5786 2 жыл бұрын
Exactly what I was looking for, thank you!
@itztoofan
@itztoofan 7 күн бұрын
dayummmmm it works wellll!! 🍃🍃
@bwarholak
@bwarholak 2 жыл бұрын
Thanks! This is just what I needed :)
@Amranwen
@Amranwen 2 жыл бұрын
Thank you so much for this video! This really saved my day
@Mr.Dirkelz
@Mr.Dirkelz 6 ай бұрын
Hey, I would like to see the rest of the videos
@TruongTran-rd3cy
@TruongTran-rd3cy 4 ай бұрын
Thank u !! it works for me
@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!
@AJAYKUMAR-gu7yj
@AJAYKUMAR-gu7yj 3 жыл бұрын
Thanks it worked for me
@sudhakarp3519
@sudhakarp3519 8 ай бұрын
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...
@kech-agmaio8620
@kech-agmaio8620 3 жыл бұрын
i love this guy
@Tysuwndbbs
@Tysuwndbbs 3 жыл бұрын
What if the access get denied ?
@Anonymous-er9id
@Anonymous-er9id 7 ай бұрын
Thanks a lot, this video saved a lot of time 👍
@AnonYmous-zt6kr
@AnonYmous-zt6kr 3 жыл бұрын
Can the server be accessed publicly (not on the same network) ?
@neas00
@neas00 Жыл бұрын
super helpful!!
@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
@pikatheminecrafter
@pikatheminecrafter 6 ай бұрын
I would like a tutorial for getting an apache server to connect to the internet.
@itztoofan
@itztoofan 7 күн бұрын
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 7 күн бұрын
Any solutions on relation to this issue please
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 6 күн бұрын
@@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!
@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
@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?
@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?
@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 🙏
@mlopez1007
@mlopez1007 Ай бұрын
Good tutorial video.
@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?
@gruberaccountancy6965
@gruberaccountancy6965 3 жыл бұрын
That was sooo Groovy!
@karagckn
@karagckn Жыл бұрын
Thank you! It really works. Great
@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 Ай бұрын
@@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 Ай бұрын
@@ESEben10 Sure! Here it is: kzbin.info/www/bejne/jKiyk6BpptuGabM
@aaronwolfe9640
@aaronwolfe9640 Жыл бұрын
Thank you for the tutorial.
@afnibi
@afnibi 11 ай бұрын
Thanks its help me out and next how to install php after apache installed ?
@quincyofarrell3061
@quincyofarrell3061 3 жыл бұрын
Thanks allot, nice and clear explanation...
@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
@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
@lawrentiaonwumelu2911
@lawrentiaonwumelu2911 3 ай бұрын
Thank you
@FernandoBarretto10
@FernandoBarretto10 2 жыл бұрын
Thanks man. Congrats for it!
@jesusdelarua5995
@jesusdelarua5995 Жыл бұрын
Great Help! Thank you.
@Slogyo
@Slogyo Жыл бұрын
I keep getting error 5, access is denied. I am using admin account and running as administrator
@littlebee3431
@littlebee3431 21 күн бұрын
I cannot start Apache services from 3:20 :(
@dkim2740
@dkim2740 9 ай бұрын
thank you well explained
@Vincent-fo9ie
@Vincent-fo9ie 2 жыл бұрын
hello! i would like to ask whether i can later connect this to a mysql platform? thanks!
@Faycal59
@Faycal59 8 ай бұрын
thanks this helped me
@1Mouad
@1Mouad 5 ай бұрын
i got a problem when i install how to uninstall it ?
@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?
@CarlosEduardo-nj9nz
@CarlosEduardo-nj9nz 2 жыл бұрын
Thank you it helped me a lot
@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
@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.
@KingHenVII
@KingHenVII 3 ай бұрын
thanks a lot
@mamifero.efimero
@mamifero.efimero 3 сағат бұрын
127.0.0.1 shows me "Access Denied", but the .html file showed me it works! Great tip!
@FullStackDevGreg
@FullStackDevGreg 10 ай бұрын
Please How can I ssl by installing kind of self certificate
@adnanbennasare9291
@adnanbennasare9291 9 ай бұрын
thanks
@weaponkid1121
@weaponkid1121 2 жыл бұрын
What keyboard are you using and what switches?
@bhagvaangodiswarallahkhudaparv
@bhagvaangodiswarallahkhudaparv 3 жыл бұрын
how to make server for global access??
@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 9 ай бұрын
@@RolloTompson1231 good lookin bro, thank you!
@peterSobieraj
@peterSobieraj Жыл бұрын
Can I somehow just lunch it, without installing ?
@Frostrogfuly
@Frostrogfuly 2 жыл бұрын
Thank you! It was helpfull
@manishbhosale2828
@manishbhosale2828 2 жыл бұрын
i want deploy my html file on web server how can i do that??
@coolvibesreloaded7946
@coolvibesreloaded7946 2 жыл бұрын
When are you going to make a video on connecting your domain
@therandomman4765
@therandomman4765 Жыл бұрын
Hey, how would one enable a mod_rewrite?
@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: kzbin.info/www/bejne/jKiyk6BpptuGabM
@Ec_Guy
@Ec_Guy Ай бұрын
How to connect apche to web
@sask1a41
@sask1a41 3 жыл бұрын
cool stuff really helpful!
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 жыл бұрын
Tyvm! glad this helped!
@346ask
@346ask 3 жыл бұрын
How can I get SSL cert on localhost with Apache?
@wellington18m
@wellington18m 3 жыл бұрын
Hello there. Please could you make a video on how to host .net core app using apache. Thanks in advnace!
@Mahfoudh_
@Mahfoudh_ Жыл бұрын
thnk you
@rajkumaremmadi5553
@rajkumaremmadi5553 3 жыл бұрын
it shows code execution cannot be processed!!!
@Rei-km7yj
@Rei-km7yj 3 жыл бұрын
Great video!
@IAmScarab
@IAmScarab 3 жыл бұрын
Ive followed the video but in PhpMyAdmin i get an error at the bottom saying "Invalid server index: " and the drop down choice box shows 2 "Localhost" servers". Any clues you could help me. TIA
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 жыл бұрын
In your windows services list (go to start menu, type in "services"), do you have more than one service running for Apache? Also, are you trying to set up PhpMyAdmin for MySQL? The error "Invalid server index" would make me think that there's a phpmyadmin config that is looking for apache, but it's got the improper list / references to point to your apache 2.4 install. I'll be making a follow up video soon for installing MySQL to the webserver as well, so maybe that'll help.
@IAmScarab
@IAmScarab 3 жыл бұрын
@@FlavorOfTheMonthChannel Thanks for the swift reply, I found the problem in the config file. When I edited it I placed some code before the $i = ++ which I guess was skipping the first couple of variables I added. Cheers
@FlavorOfTheMonthChannel
@FlavorOfTheMonthChannel 3 жыл бұрын
@@IAmScarab Ah ok nice, thanks for following up with the info on how to fix it
@viorelpaluta3815
@viorelpaluta3815 Жыл бұрын
ty a lot bro
@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
@adriyear
@adriyear 3 жыл бұрын
THANKS A LOT
@BlueDolphinBlues
@BlueDolphinBlues 2 жыл бұрын
Mine doesn't work. 😅 Always something...
@BlueDolphinBlues
@BlueDolphinBlues 2 жыл бұрын
got it!
@JoelARuiz-js1vy
@JoelARuiz-js1vy Жыл бұрын
Good job
@mrraindrop2044
@mrraindrop2044 Жыл бұрын
god bless you
@aaronvonheimburg4498
@aaronvonheimburg4498 3 жыл бұрын
so good
Installing Apache PHP MYSQL on Windows 10
27:06
Aryans & Sierra
Рет қаралды 48 М.
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Inside Out 2: BABY JOY VS SHIN SONIC 3
00:19
AnythingAlexia
Рет қаралды 8 МЛН
Как установить Apache HTTP Server на Windows 10
7:39
Your Old PC is Your New Server
11:07
Linus Tech Tips
Рет қаралды 6 МЛН
Setup Apache Server in Windows using apache lounge
26:47
Learning Software
Рет қаралды 4,2 М.
Installation of Apache Web Server on Windows 10 & Hosting a Website
11:16
GD Networking Newbie
Рет қаралды 23 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 248 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 298 М.
APACHE (PART1): WEBSERVER AND VIRTUAL HOSTS || Amy Codes
23:14
Installing Apache 2.4 and PHP 8 on a Windows 10 Machine.
11:23
Aryans & Sierra
Рет қаралды 31 М.
Apache Web Server Setup on Ubuntu 22.04 (with SSL)
16:28
TechHut
Рет қаралды 109 М.
Basics of Apache Webserver
32:43
Amit Nepal
Рет қаралды 166 М.