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
@LexGear2 жыл бұрын
I had to edit the conf file and change it to the correct drive letter. Otherwise worked well.
@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 Жыл бұрын
You're a champion for this!
@Sxcks6 ай бұрын
@@RolloTompson1231 Yo im stuck where do i edit the image
@claybowser4 ай бұрын
thanks man!
@betosfilm3 жыл бұрын
This video contains exactly what the title describes. Thank you! it worked perfectly!
@FlavorOfTheMonthChannel3 жыл бұрын
Thanks for the feedback! I'm glad it worked :D
@Wiktor28022 жыл бұрын
Very underrated channel! Probably the only decent video tutorial out there showing how to install apache.
@ADHD_Gamer2 жыл бұрын
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!
@FlavorOfTheMonthChannel6 ай бұрын
Never knew this, thanks! Very cool trick
@MessyMasyn5 ай бұрын
10/10 tutorial, im not even overexaggerating like some people do, the tutorial does exactly the title says in 5 minutes
@FlavorOfTheMonthChannel5 ай бұрын
Thanks! :D
@asmnazmuzzaman1703 Жыл бұрын
I tried Apache in 2015. Thanks for your video.
@hairyonions Жыл бұрын
Just want to say this is a very good tuturiol, very quick and easy. Thank you for producing it.
@MoryBinM-905 ай бұрын
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👍🏼
@joshualesternunez56575 ай бұрын
you can try to type C:\Apache24\bin>httpd.exe -h install and then proceed to type httpd.exe -k install
@LouisKaranjaАй бұрын
For your errors, how did you resolve it?
@crescenstan71672 жыл бұрын
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!
@thahrimdon2 жыл бұрын
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_2 жыл бұрын
thanks so much dude
@MrKnottyFit10 ай бұрын
Love you brother! Thanks!
@CambrielMoore2 жыл бұрын
Really great video and the pinned comment really helped with the installation process!
@johnhill71373 жыл бұрын
Great video. Simplest one I have seen and installed with ease. Many thanks. Off to look at your PHP one now.
@FlavorOfTheMonthChannel3 жыл бұрын
Thanks for the feedback! I'm working on a video for adding in the MySQL database portion as well, soon to come
@pradeeplanka69763 жыл бұрын
Thanks a lot. Quick and well planned guide. Everything needed is covered quickly.
@miwiki610 ай бұрын
Thank you, this is the only explanation my illiterate brain was able to understand!! Saved me 👍
@VariantBank6 ай бұрын
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.
@TheRealCrispOFC2 жыл бұрын
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
@saramotamaralayefaemmanuel97728 ай бұрын
I have the same error where u able to fix it bro
@godlywisdomwithgrace10 ай бұрын
Life saver thank you so much for this video. It was quick simple and easy 🎀 may God bless you
@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 Жыл бұрын
Subscribed. But but I see people's petty attitude, coming here, watching the video, getting the knowledge, and leaving without liking or subscribing.
@FlavorOfTheMonthChannel4 ай бұрын
Thanks, much appreciated! :D
@theusaftechguy2 жыл бұрын
Super helpful, Thanks for taking the time to make this video!
@selectormillitant32862 жыл бұрын
What do you do if it says Windows could not start the apache2.4 on local computer.
@anastasiyatkachova5412 Жыл бұрын
Thank so much! You helped me a lot. This video was short and useful!
@tractorman77333 жыл бұрын
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
@prsnm35111 ай бұрын
Thanks for the guidance, Sir.
@mikeums10 ай бұрын
how do we connect the local website up to the internet?!?
@subhamdey33612 жыл бұрын
but notNice tutorialng seems to work. Tried built-in content, and scarlett solo. What's the hardware you have? windows mac? special soft card?
@WellnessandWholeness214 ай бұрын
It was very helpful.Thanks
@THE_DONIXАй бұрын
Thankyou so much for this video❤
@kaistnov30242 жыл бұрын
Thank you so much for your video. It helps me a lot. Thanks sir!
@erichsu57862 жыл бұрын
Exactly what I was looking for, thank you!
@itztoofan7 күн бұрын
dayummmmm it works wellll!! 🍃🍃
@bwarholak2 жыл бұрын
Thanks! This is just what I needed :)
@Amranwen2 жыл бұрын
Thank you so much for this video! This really saved my day
@Mr.Dirkelz6 ай бұрын
Hey, I would like to see the rest of the videos
@TruongTran-rd3cy4 ай бұрын
Thank u !! it works for me
@jasonjente67932 жыл бұрын
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-gu7yj3 жыл бұрын
Thanks it worked for me
@sudhakarp35198 ай бұрын
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-agmaio86203 жыл бұрын
i love this guy
@Tysuwndbbs3 жыл бұрын
What if the access get denied ?
@Anonymous-er9id7 ай бұрын
Thanks a lot, this video saved a lot of time 👍
@AnonYmous-zt6kr3 жыл бұрын
Can the server be accessed publicly (not on the same network) ?
@neas00 Жыл бұрын
super helpful!!
@rifatbhuiyan25433 жыл бұрын
I'm getting this after install command "Set the 'ServerName' directive globally to suppress this message"
@rebeltime64133 жыл бұрын
did you solve this problem. i am gettin it also
@SwathiBurgula33 жыл бұрын
@@rebeltime6413 me to
@pikatheminecrafter6 ай бұрын
I would like a tutorial for getting an apache server to connect to the internet.
@itztoofan7 күн бұрын
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😅
@itztoofan7 күн бұрын
Any solutions on relation to this issue please
@FlavorOfTheMonthChannel6 күн бұрын
@@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!
@bantuandproud84562 жыл бұрын
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
@ultrafireman3 жыл бұрын
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”
@FlavorOfTheMonthChannel3 жыл бұрын
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?
@orlinchirinos19812 жыл бұрын
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 Жыл бұрын
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Ай бұрын
Good tutorial video.
@victoriakopp83213 жыл бұрын
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?
@teobellverwhite35623 жыл бұрын
did you solve it?
@gruberaccountancy69653 жыл бұрын
That was sooo Groovy!
@karagckn Жыл бұрын
Thank you! It really works. Great
@ESEben102 ай бұрын
So, if I would like to add a java script or css file, I'd do it on the htdocs folder?
@FlavorOfTheMonthChannel2 ай бұрын
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Ай бұрын
@@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Ай бұрын
@@ESEben10 Sure! Here it is: kzbin.info/www/bejne/jKiyk6BpptuGabM
@aaronwolfe9640 Жыл бұрын
Thank you for the tutorial.
@afnibi11 ай бұрын
Thanks its help me out and next how to install php after apache installed ?
@quincyofarrell30613 жыл бұрын
Thanks allot, nice and clear explanation...
@monoxgg3 жыл бұрын
Quick and Easy. Thanks!
@FlavorOfTheMonthChannel3 жыл бұрын
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 Жыл бұрын
Could not get services to start apaches. Somthing about sintax line 39 being wrong on cmd
@anything.with.motors Жыл бұрын
Code 1
@lawrentiaonwumelu29113 ай бұрын
Thank you
@FernandoBarretto102 жыл бұрын
Thanks man. Congrats for it!
@jesusdelarua5995 Жыл бұрын
Great Help! Thank you.
@Slogyo Жыл бұрын
I keep getting error 5, access is denied. I am using admin account and running as administrator
@littlebee343121 күн бұрын
I cannot start Apache services from 3:20 :(
@dkim27409 ай бұрын
thank you well explained
@Vincent-fo9ie2 жыл бұрын
hello! i would like to ask whether i can later connect this to a mysql platform? thanks!
@Faycal598 ай бұрын
thanks this helped me
@1Mouad5 ай бұрын
i got a problem when i install how to uninstall it ?
@benjaminmoon45543 жыл бұрын
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-j7g3 жыл бұрын
same $hit
@lavftw38083 жыл бұрын
Same error message
@mo3iz6892 жыл бұрын
up
@professorpennies2 жыл бұрын
please tell me if you find out how to fix
@christancone2432 жыл бұрын
@@professorpennies Found it?
@CarlosEduardo-nj9nz2 жыл бұрын
Thank you it helped me a lot
@diom002 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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.
@KingHenVII3 ай бұрын
thanks a lot
@mamifero.efimero3 сағат бұрын
127.0.0.1 shows me "Access Denied", but the .html file showed me it works! Great tip!
@FullStackDevGreg10 ай бұрын
Please How can I ssl by installing kind of self certificate
@adnanbennasare92919 ай бұрын
thanks
@weaponkid11212 жыл бұрын
What keyboard are you using and what switches?
@bhagvaangodiswarallahkhudaparv3 жыл бұрын
how to make server for global access??
@lavftw38083 жыл бұрын
Windows could not start Apache2.4 on Local Computer
@christancone2432 жыл бұрын
Same issues
@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 Жыл бұрын
@@RolloTompson1231 thank you so much
@Cakespresso9 ай бұрын
@@RolloTompson1231 good lookin bro, thank you!
@peterSobieraj Жыл бұрын
Can I somehow just lunch it, without installing ?
@Frostrogfuly2 жыл бұрын
Thank you! It was helpfull
@manishbhosale28282 жыл бұрын
i want deploy my html file on web server how can i do that??
@coolvibesreloaded79462 жыл бұрын
When are you going to make a video on connecting your domain
@therandomman4765 Жыл бұрын
Hey, how would one enable a mod_rewrite?
@Lennings82 Жыл бұрын
will it autostart when the windows start? And can it read PHP?
@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Ай бұрын
How to connect apche to web
@sask1a413 жыл бұрын
cool stuff really helpful!
@FlavorOfTheMonthChannel3 жыл бұрын
Tyvm! glad this helped!
@346ask3 жыл бұрын
How can I get SSL cert on localhost with Apache?
@wellington18m3 жыл бұрын
Hello there. Please could you make a video on how to host .net core app using apache. Thanks in advnace!
@Mahfoudh_ Жыл бұрын
thnk you
@rajkumaremmadi55533 жыл бұрын
it shows code execution cannot be processed!!!
@Rei-km7yj3 жыл бұрын
Great video!
@IAmScarab3 жыл бұрын
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
@FlavorOfTheMonthChannel3 жыл бұрын
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.
@IAmScarab3 жыл бұрын
@@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
@FlavorOfTheMonthChannel3 жыл бұрын
@@IAmScarab Ah ok nice, thanks for following up with the info on how to fix it
@viorelpaluta3815 Жыл бұрын
ty a lot bro
@ratmoneyg3 жыл бұрын
The system cannot find the file specificied. No installed service named "Apache2.4". What do I do?
@gjumper98713 жыл бұрын
My guess is that you are in the wrong directory. Use these commands in cmd as admin: >cd ... >cd .. >cd C:\Apache24\bin
@hd_legendzhdl26003 жыл бұрын
@@gjumper9871 i have the same problem still havent been able to fix it im in the right directory