Basic Apache Webserver Configuration & Virtual Hosts - Full PHP 8 Tutorial

  Рет қаралды 57,437

Program With Gio

Program With Gio

Күн бұрын

Пікірлер: 203
@gadlabiod2072
@gadlabiod2072 3 жыл бұрын
Pure gold. I cannot stress how rare this type information online. Most tutorials just ignore this stuff completely, even though they are crucial for real world development and deployment. The very few videos on such subjects are usually not beginner friendly to say the least.
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
Thank you 💙💙
@4lmolly
@4lmolly 2 жыл бұрын
This guy is an absolute gem! You're very good at this teaching thing. I wish this could be replicated for all things concerning software/hardware. Maybe some things would be less complicated/challenging to understand. Nice work! Keep it up.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Thank you 💙💙
@wno1043
@wno1043 Жыл бұрын
I learned more from this video than reading pages of questions and "answers" in various forums, and was actually able to solve my problem with Apache failing when Virtual Hosts was activated! Many others apparently have had the same problem, and yet they don't get answers that work from the forums. Great video! Thanks!
@ProgramWithGio
@ProgramWithGio Жыл бұрын
That's awesome, happy to hear that. Thank you 🙌
@janedawg09
@janedawg09 11 ай бұрын
thanks a lot for adding this to the playlist. now I understand how these config files affect my projects. many other tutorials tend to vaguely explain or even skip these configurations. this was brief and very clear explanation 🙌
@ProgramWithGio
@ProgramWithGio 11 ай бұрын
Glad it helped
@faramarztayyari3734
@faramarztayyari3734 3 жыл бұрын
After completing the course, please post videos with professional topics such as Apache, server management, security, etc. I'm so glad I found you
@klerfe85
@klerfe85 3 жыл бұрын
This is awesome! This PHP series is getting better and better. Now senior PHP dev's can learn a thing or two :)
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
Thank you 🙌
@henrik9173
@henrik9173 3 жыл бұрын
Agree with you. I'm loving this
@oswgaming198
@oswgaming198 Жыл бұрын
😂 Yeah for sure bro
@amagrawal0090
@amagrawal0090 2 жыл бұрын
I cannot thank you enough for doing this. Every video i have seen of php so far was really of surface level, but you are mining gold.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Glad you like it, thank you 💙
@lil-lilac-lil
@lil-lilac-lil 11 ай бұрын
I'm so glad I found your PHP video series! Usually I hate to learn from tutorials but your way of teaching and explaining things are awesome!
@ProgramWithGio
@ProgramWithGio 11 ай бұрын
Glad you found it helpful, thank you
@ProgressiveDeveloper
@ProgressiveDeveloper 2 жыл бұрын
This video has changed my life and my development career altogether . I was working with routers in nowadays and things got really complicated as I moved on but rewinding my mind back I watched this video and it's now solving everything . I even had a dilemma and propably had a choice of renouncing PHP to Node js but am back now Thank you I really love your contents alot . They changed my career and destination.
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Really happy to hear that, thank you 💙 You got this 💪
@ProgressiveDeveloper
@ProgressiveDeveloper Жыл бұрын
@@ProgramWithGio That's fine but during the configurations I had a problem that is really devastating a lot . I use windows 11 on my machine and when I open the host file i couldn't find the button to open and run it as an administrator In fact I ran it as a normal user committed some changed but the file couldn't be saved. I modified the security settings in the file property and allowed modification, execution, read, write and save by any user and then opened it again to save the changes I added the new ip address as you illustrated in the video and saved it . Then after that I ran to my browser to run my local server and it couldn't run . My localhost is running properly and yet point to the document root I want but I cann't open my .local site in the browser. Do I need much attention. Please help me with that.
@ProgramWithGio
@ProgramWithGio Жыл бұрын
@@ProgressiveDeveloper you can open notepad as administrator and then open the hosts file within that notepad using file -> open
@ProgressiveDeveloper
@ProgressiveDeveloper Жыл бұрын
@@ProgramWithGio ok thank's 👌👌👌👌👌👌
@hectorluis9294
@hectorluis9294 2 жыл бұрын
Definitely, THE best PHP course.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Thank you 🙌
@yinonelbaz5309
@yinonelbaz5309 2 жыл бұрын
Thank you!!! Excellent episode! A black hole in all PHP tutorials...
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Glad you liked it, thank you 🙌
@tarirocoffee5026
@tarirocoffee5026 Ай бұрын
I just love how you go deep into every detail, this is priceless!
@ProgramWithGio
@ProgramWithGio Ай бұрын
Thank you very much!
@JRCSalter
@JRCSalter Жыл бұрын
Damn! I've been learning PHP on and off for years, and I've been breezing through this tutorial and learning so much that was never taught in any other course I've taken. This video in particular is extremely helpful, as I wanted to learn Apache as well. I also had an issue the other day which necessitated a .htaccess file, but I could not access $_GET and $_POST because I was redirecting 404 errors to /, and this messed with my router meaning those variables were discarded. I asked on a forum about it, and they told me to use almost the same code as you put in .htaccess, but didn't explain what it meant. It worked, but thanks to this video, I actually understand why.
@ProgramWithGio
@ProgramWithGio Жыл бұрын
That's awesome, happy to hear 💙
@Armando-px8hi
@Armando-px8hi Жыл бұрын
I am being serious when I was going to payed courses they showed this conf file once and they do not explain it how you did GIO, you can search on Google or on KZbin, you are the only person that is showing this kind of stuff.God Bless you man for doing this!
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Happy to hear that. It was always my goal to explain things in the way that I would want things to be explained to me. I've had a lot of these questions myself when I was starting out & learning.
@sonoftroy8572
@sonoftroy8572 Жыл бұрын
One thing for sure, a lot of people that teach programming never educate people about apache local server and how to modify it's configurations. If you read apaches documentation it can be very confusing at first glace. And it's not a good source for beginners that don't know anything about apache. it'll take weeks to comb through all the docs... I'm glad you explained why it's needed, instead of just saying add this with out an explication. It takes away from people ability to learn. htaccess files and navigating the control panel is something overlooked. I'm glad you went over it with us thanks. Oh and I see you have apache code snippets! can I get that support for vscode too.
@ProgramWithGio
@ProgramWithGio Жыл бұрын
That was my goal, I wanted to create a course and teach it the way I would want to learn a new language myself. A lot of times I have had these questions myself when learning. I dont use anything special for apache, I just use phpstorm IDE, maybe vscode has some plugin for it
@AbdouAbdou-hu9un
@AbdouAbdou-hu9un 2 жыл бұрын
7:16 don't you ever say that again , you're doing great job explaining even the details and for free... thank you, thank you so much
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Thank you 💙💙💙
@aleksandrkanygin2672
@aleksandrkanygin2672 3 жыл бұрын
Excellent tutorial, you cover every topic i wanted to see in php course, simply the best course on the internet
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
Glad to hear that, thank you 🙏
@miftahmaulana6071
@miftahmaulana6071 3 жыл бұрын
My main field of study is Pharmacy and because of that I had no information about some of the basics and I didn't know how to find that information. Thank you for creating such a great tutorial that covers the needed basics
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
Glad it was helpful! Thank you
@AhmarIftikharButtIftikharHussa
@AhmarIftikharButtIftikharHussa 5 ай бұрын
Assalam-o-alaikum! is you find any job in tech in 3 years.I'm also have same situation like you. I'm also a Pharmacy tech student & learning how to code.
@shyankakshar
@shyankakshar Жыл бұрын
best tutorial I ever seen, short, crisp, direct crus is provided
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Happy to hear, thank you
@lotuslando1994
@lotuslando1994 2 жыл бұрын
This was a very good introduction to these config files. It pairs perfectly with what's been covered so far. 👍
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Glad it was helpful, thank you 💙
@zb2747
@zb2747 2 жыл бұрын
You covered so many topics I was confused about and simplified it while also giving a thorough overview/explanation. Its like every video I watch I'm experiencing an 'ah ha' moment lol. Thank you and I'll continue to say it as I watch more videos lol - I appreciate you and the effort you put into this fr!
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Happy to hear, thank you 🙏
@anilgajiev8257
@anilgajiev8257 3 жыл бұрын
6:52 path to host files on Windows: C:\Windows\System32\drivers\etc\hosts
@ieduardoms
@ieduardoms Жыл бұрын
It was not boring at all, on the contrary, it was VERY interesting and useful, and this tutorial is great. Thank you so much.
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Glad to hear, thank you 🙌
@christiansosa5484
@christiansosa5484 Жыл бұрын
smashed that like button pretty hard actually
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Thank you 💙
@rogerzthecoder3625
@rogerzthecoder3625 2 жыл бұрын
Bruh, I've picked up a lot from you. You made things understandable. I'm a Nigerian.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Happy to hear that 🙌, thank you 💙
@emekatimothyiloba699
@emekatimothyiloba699 Жыл бұрын
Insightful. Thank you Gio
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Happy to hear
@Vitalii-m6r
@Vitalii-m6r Жыл бұрын
Wow, there is still so much I need to learn. Thanks a lot!
@ProgramWithGio
@ProgramWithGio Жыл бұрын
One step at a time
@Nekoeye
@Nekoeye 3 жыл бұрын
👍 Another like for not being boring :)
@godmansarah
@godmansarah 2 жыл бұрын
That was exactly the point I liked this particular video also :D
@ayxan3950
@ayxan3950 2 жыл бұрын
3:57 guys, if your .htaccess codes arent applied, please pay attention to "AllowOverride All" line here. I changed that line and worked
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Was yours not set to All?
@erickruhcardozo
@erickruhcardozo 2 жыл бұрын
God bless you man!
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
You too Erick, thank you 🙌
@inzaghiposumaalkahfi9650
@inzaghiposumaalkahfi9650 Жыл бұрын
6:18 Can we add more than One/Two Folders Configuration in Htdocs Xampp Folder?
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Yes you can
@inzaghiposumaalkahfi9650
@inzaghiposumaalkahfi9650 Жыл бұрын
@@ProgramWithGio How to setting up?
@ProgramWithGio
@ProgramWithGio Жыл бұрын
@@inzaghiposumaalkahfi9650 create multiple folders and duplicate vhost configuration. You can Google for examples
@stepanmutsikivsky8987
@stepanmutsikivsky8987 Жыл бұрын
So, on my Lubuntu everything was absolutely different! Or rather same things but in another files & directories. And of course, in the end magic didn't happen🙃 ...until I googled and used command "sudo a2enmod rewrite"😁 Many thanks for the video!
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Glad you figured it out, good job
@longkesh1971
@longkesh1971 6 ай бұрын
Thank you so much for making these videos.
@ProgramWithGio
@ProgramWithGio 6 ай бұрын
You're welcome
@s4f4y4t9
@s4f4y4t9 3 жыл бұрын
Great tutorial sir
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
Thank you
@jaume748
@jaume748 Жыл бұрын
Learnt so much in this video. ♥ THANKS!
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Happy to hear 🙌
@abdelazizabdelioua890
@abdelazizabdelioua890 Жыл бұрын
Thanks for the explanation. What is your IDE by the way ?
@ProgramWithGio
@ProgramWithGio Жыл бұрын
I use phpstorm
@ionafan2
@ionafan2 3 жыл бұрын
Awesome! Do please the NGINX next time! Thank you!
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
Thank you. Already did with docker in second section 🙌
@lairotuT-Tutorial
@lairotuT-Tutorial 3 ай бұрын
Wow, that was really fun, learned a lot! I would really like to have more information about Web Server configuration. There seems to be that much that a complete short series might be cool. But I guess - as you mention the cool stuff to come - Web Server config would not be your favorite, right? 😥
@ProgramWithGio
@ProgramWithGio 3 ай бұрын
Heh, configuring web servers is not as much fun :D
@lairotuT-Tutorial
@lairotuT-Tutorial 3 ай бұрын
@@ProgramWithGio Well then.....🙄 Ready for the REAL fun 🤣🤣🤣
@jimmybdietaryandvital-sigh8450
@jimmybdietaryandvital-sigh8450 Жыл бұрын
Awesome videos Gio. I thought the server & domain process was so much more complicated. Great stuff. One thing is if you ever redo any of these could you place the video title along the bottom of the screen instead of the top? When in full screen on pause it blocks the top line of your editor where it shows which files you have open and at times your first line of code. Not a deal-breaker by any means as your training is awesome. It would just help us out a bit more. Thanks ...have a great day Jimmy
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Thank you 🙌. Can you share a screenshot of what you mean? Nothing is blocked on my end on full screen. If you mean the KZbin overlay that is something KZbin does that I have no control over, if you move your mouse or press key it shows the video controls as well as the title, it should go away on its own if you don't move your mouse while watching. Unless you see something else, screenshot would be great so I can check, thank you 💙
@jimmybdietaryandvital-sigh8450
@jimmybdietaryandvital-sigh8450 Жыл бұрын
@@ProgramWithGio Hi Gio. I think that you might be right. It is probably just the KZbin overlay and is blocking only for a short time before it goes away. It's just that the top line is usually fuzzy (not always) and sometimes I need to study it. What I do now is let the video run while I'm doing this and just back it up. No big deal. I just wanted to bring it to your attention. BTW I tried to add a screenshot here but it wouldn't work. Anyway have a great day Jimmy
@peterpardo4138
@peterpardo4138 2 жыл бұрын
Thank you so much! I really appreciate your effort in doing this.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
You're very welcome
@BestNoobHello
@BestNoobHello 2 жыл бұрын
This is awesome!
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Glad you like it 💙
@bevedel
@bevedel 2 жыл бұрын
Really helpful. Thank you.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Glad it was helpful, thank you
@Armando-px8hi
@Armando-px8hi Жыл бұрын
Man I just want to know how much did it take you to learn all this stuff?Absolutely Crazy!
@ProgramWithGio
@ProgramWithGio Жыл бұрын
It does take a lot of time but key thing is to never stop learning. I am still learning new things all the time.
@frd85
@frd85 Ай бұрын
brilliant video. thx
@ProgramWithGio
@ProgramWithGio Ай бұрын
Glad you enjoyed it
@expresscoding3525
@expresscoding3525 Жыл бұрын
Sir, I've a request, that please make a full course on apache and htaccess configuration course, and things related to URL rewriting, and pretty URLs using apache, there is not so much resources for it, that's why.
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Thanks for the suggestion
@FranciscoJunior29
@FranciscoJunior29 2 жыл бұрын
Thais ia awesome, great job.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Glad you liked it, thank you
@n.a.5261
@n.a.5261 2 жыл бұрын
Hello Gio, I keep getting stuck around 6:38. I do get that localhost can have ambiguity with multiple websites, but I can't understand how ServerName works. Since ServerName points to the localhost ip address in the hosts file, how would you add another domain for other websites for example, that you have mentioned? What I only got was assign the localhost ip address to the server or domain but don't know how to add more websites other than the localhost.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Hello. You organize different sites in different folders under htdocs, so something like htdocs/site1 htdocs/site2 then in vhosts you duplicate ...
@Herobotick2025
@Herobotick2025 3 жыл бұрын
thaank you so much , i have a question so i'm a front end developper and i started learning the backend since a little while could you please give me a hint about the whole backend and what we can do like the uses generally .thnks in advance
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
There are a lot of things you can do with backend development. CRM systems, warehouse management systems, ecommerce, invoicing & payments, & ton more stuff.
@judeleon8485
@judeleon8485 Жыл бұрын
Thanks Gio. Can you please explain the difference between domain name, hostname, and servername
@ProgramWithGio
@ProgramWithGio Жыл бұрын
No problem. That is the type of question that can easily be googled. Domain is basically a user friendly name of some IP address, hostname is a name associated with a device (i.e. PC) on network, server name is a server name. Server name in terms of Apache config is basically a reference to virtual host.
@judeleon8485
@judeleon8485 Жыл бұрын
@@ProgramWithGio There are some concepts that one gets confusing, and sometimes, conflicting explanations to. domain name, hostname, and servername are examples of such. Most times, these three have same values, which led to why I asked the question. Thanks Gio for your time
@ProgramWithGio
@ProgramWithGio Жыл бұрын
@@judeleon8485 no worries, I understand. Hope my answer helped a little bit 🙌
@zonegamma8197
@zonegamma8197 7 ай бұрын
thanks a lot very useful
@ProgramWithGio
@ProgramWithGio 7 ай бұрын
happy to hear
@jeffsnow7464
@jeffsnow7464 2 жыл бұрын
8:01 "Remember that Allow Override directive in the main configuration file that we talked about a few minutes ago? That's the one." 🤣👍
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Yup, that's the one 😁
@petogeorge
@petogeorge Жыл бұрын
Thankk you so much !😍
@ProgramWithGio
@ProgramWithGio Жыл бұрын
You're welcome 😊
@ProgressiveDeveloper
@ProgressiveDeveloper Жыл бұрын
Hello Gio, I was working with routers and views, but I got stack because Iam not capable of loading assets like JavaScript, CSS and images and the template engine Iam using is .php files and I don't want to change to other templating engines like twig and blade that so How can I load and include those assets with these Apache configurations. Because at first, I tried to include them by requiring them normally as files but that can't work with images Can you please help me with that.
@ProgramWithGio
@ProgramWithGio Жыл бұрын
They should work fine, in apache vhost you define document root so your assets will just be relative to that path. For example if your js is in public/js/app.js then you can load it in code by /app.js because document root is /public.
@kenjohnsiosan9707
@kenjohnsiosan9707 2 жыл бұрын
Thank you sir.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
You're welcome 💙
@jailsoncarneiro4936
@jailsoncarneiro4936 Жыл бұрын
Fantastic!
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Thank you! Cheers!
@mostafamahfouz1139
@mostafamahfouz1139 3 жыл бұрын
شكرا لك
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
You're welcome
@Zubbee
@Zubbee 2 жыл бұрын
Hi Gio, I added this update you included below RewriteCond %{LA-U:REQUEST_FILENAME} !-f RewriteCond %{LA-U:REQUEST_FILENAME} !-d i mean the LA-U (Look ahead-URL) into vhosts file and the pretty URLs refused to load. I had to take out for it to work. In what scenerio are we supposed to use it then or could i have missed something?
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
That's strange. If you can share screenshot of your config section I can take a look. You can DM me on twitter & send it there.
@Zubbee
@Zubbee 2 жыл бұрын
@@ProgramWithGio ok. will do. thanks so much
@iqorimane3575
@iqorimane3575 2 жыл бұрын
not boring at all !
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
👍👍
@niksatan
@niksatan 3 жыл бұрын
Hey Gio thank you for great series. I am interested on your opinion about Laragon for local dev environment, with heidiSQL. I am planing to buy new computer, what would you personaly prefer - Mac with Sequel pro, or PC with heidiSQL for the long term PHP mysql development? Thank you
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
Hello. Laragon is good alternative to XAMPP for local development. I have no experience with heidiSQL or Mac so I can't really say much about it. I personally use Linux dual booted on Windows PC so I switch between Windows & Linux when needed. As for the local development I use Docker (which is also covered in this series in 2nd section).
@niksatan
@niksatan 3 жыл бұрын
@@ProgramWithGio Thank you so much for the answer and for the series! I will try Docker!
@FahdSalah
@FahdSalah 2 жыл бұрын
Great Tutorial Gio, but am actually can't understand this config. video. Can i skip it or rest a little bit then try with it again? (Love your vids btw)
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Thank you. Of course you can skip & come back to it later, not a big deal.
@FahdSalah
@FahdSalah 2 жыл бұрын
@@ProgramWithGio Thanks a lot
@anildemir5425
@anildemir5425 2 жыл бұрын
Hey Gio, do you recommend using apache or nginx? ( for a junior php developer we ought to know nginx web server configuration?)
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Either is fine. I personally have moved to nginx & we cover nginx in 2nd section as well with Docker so you'll see how it works.
@anildemir5425
@anildemir5425 2 жыл бұрын
@@ProgramWithGio I appreciate your quick answer as well as your extra informative lessons. Thank you for all these hard work.
@migueldemaria3830
@migueldemaria3830 3 жыл бұрын
is there a difference between DocumentRoot "C:/xampp/htdocs" and "/xampp/htdocs", which mine is? My xampp is located in C:/.
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
I think this has to do with windows. If you open windows terminal & type cd / it cds into C:/ directory so that is probably why it works. If you had your XAMPP installation on D:/ for example then using /xampp would not work since it would be trying to locate that on C drive and not D.
@memack101
@memack101 2 жыл бұрын
Thank you.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
You're welcome
@aleksandrkanygin2672
@aleksandrkanygin2672 3 жыл бұрын
13:32 took me an hour and 1 rewatch of this video to figure out we need a slash there :DD
@ProgramWithGio
@ProgramWithGio 3 жыл бұрын
That's ok 🙂. Sometimes we spend a lot of time on simple bugs
@sarc143
@sarc143 Жыл бұрын
i have a qeustion, if you publish your php site to aws or cloudflare or another hosting website do you have to deal with apache configuration on your computer or no?
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Not on your computer, you would deal with it within the hosting provider depending on your provider. Some hosting providers handle most of the configuration for you
@sarc143
@sarc143 Жыл бұрын
@@ProgramWithGio ty bro
@udayan285
@udayan285 9 ай бұрын
Thanks Gio
@ProgramWithGio
@ProgramWithGio 8 ай бұрын
You're welcome
@jimmymomoh
@jimmymomoh 2 жыл бұрын
hi Gio I setup up everyting correctly but it still brings me to the default index of/ on local host and list all the directories in htdocs for me to choose from. please help.
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Hello, how is your document root configured. Can you send me screenshot of your vhosts? You can DM me on Twitter and I can help troubleshoot it
@jimmymomoh
@jimmymomoh 2 жыл бұрын
@@ProgramWithGio ok thank you..over to Twitter.
@Ash-kq7zk
@Ash-kq7zk Жыл бұрын
Hi Gio , i have a question please .. i changed everything as it should be , the documentroot servername and ip in the hosts file , but when i type the PHPfolder.local which is like programmingwithgio.local for u , it direct me to the xamp welcome page instead of reading my php file inside the PHPfolder ..
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Hey, most likely misconfiguration. If you send me screenshots of your setup & vhosts file I can help troubleshoot. You can DM me on Twitter
@Ash-kq7zk
@Ash-kq7zk Жыл бұрын
@@ProgramWithGio Thank you so much , it was jst as you said ! misconfiguration .. m working on linux and so the include virtualhost (in httpd.conf file) was commented and that was the problem
@wahyunurarizky3860
@wahyunurarizky3860 2 жыл бұрын
thanks Gio
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
You're welcome
@omaryahia
@omaryahia Жыл бұрын
amazing
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Thank you 🙏
@LubaLorenz
@LubaLorenz Жыл бұрын
cool video)
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Thanks
@b4rt1j1
@b4rt1j1 2 жыл бұрын
I followed your steps changing the localhost name part, but google keeps looking for results on web no matter what project name i specify, can someone help me with solution please?
@ProgramWithGio
@ProgramWithGio 2 жыл бұрын
Try adding in the beginning, so localhost
@b4rt1j1
@b4rt1j1 2 жыл бұрын
@@ProgramWithGio Thanks!
@Rae-wm3jx
@Rae-wm3jx Жыл бұрын
Are apache and apache2 the same or thats just 2 different server?
@ProgramWithGio
@ProgramWithGio Жыл бұрын
two different versions
@Rae-wm3jx
@Rae-wm3jx Жыл бұрын
@@ProgramWithGio i have a question can you help me? I use apache2 and have htaccess file but my web cant showing my content its just showing a blank white screen
@ProgramWithGio
@ProgramWithGio Жыл бұрын
@@Rae-wm3jx DM me on Twitter and I'll help you troubleshoot. Send me screenshots of your setup. First step is to check error log to see if there are any server errors.
@Rae-wm3jx
@Rae-wm3jx Жыл бұрын
@@ProgramWithGio ok thanks for your help
@sym2574
@sym2574 Жыл бұрын
great great great
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Thanks 🙏
@nextebiz6897
@nextebiz6897 3 ай бұрын
no you are not too boring, you are awesome
@ProgramWithGio
@ProgramWithGio 3 ай бұрын
💙💙
@Leomessi1284
@Leomessi1284 3 жыл бұрын
Nice
@adduxe
@adduxe Жыл бұрын
I've been following the whole tutorial. I think I got lost here. 😞
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Sorry to hear that, feel free to ask questions. I would also suggest to take a break & come back to it later.
@khansawidhani9899
@khansawidhani9899 4 ай бұрын
What if youtube also has feature to post multiple likes on single video by a single user like medium 😂 I would like it multiple times 😁😁
@ProgramWithGio
@ProgramWithGio 4 ай бұрын
💙💙
@BoosterShot1010
@BoosterShot1010 4 ай бұрын
I now understand why php is look down upon so much. The language is just a mess!
@ProgramWithGio
@ProgramWithGio 4 ай бұрын
Ok Python
@freshcodes07
@freshcodes07 Жыл бұрын
Really unbelievable! Theoretical Lessons like this usually i don't finish it. but you're Exception! Thanks a lot sir🤍
@ProgramWithGio
@ProgramWithGio Жыл бұрын
Thank you, I appreciate it
@useful_short_videos
@useful_short_videos 6 ай бұрын
100% useful video!!!! I agree with one of the comments that this video is pure gold. However in the case of my xampp installation on Ubuntu when I repeat all your steps and then try to open 'my-site.local' in the browser, it redirects me to 'my-site.local/dashboard' which is the same as /localhost/dashboard with all that xampp settings. Maybe you know why do I see that?
@ProgramWithGio
@ProgramWithGio 6 ай бұрын
I would have to see your configuration, feel free to reach out to me on Twitter & share your config and I can help debug it
@useful_short_videos
@useful_short_videos 6 ай бұрын
@@ProgramWithGio thank you for the hand :). I fixed it.
@lairotuT-Tutorial
@lairotuT-Tutorial 3 ай бұрын
Would you give me your idea about my own configuration: RewriteEngine On # Information über Standort/Scope # information about local/scope RewriteBase /Project/ # Wenn wir uns schon im /public Verzeichnis befinden, soll nichts weiter passieren. # no action if we are already in public folder RewriteRule ^$ public/ [L] # Statische Ressourcen, wenn sie bereits existieren. # static ressources if they exist RewriteCond %{DOCUMENT_ROOT}/public/$1 -f RewriteRule (.+)$ public/$1 [L] # Alle anderen Anfragen, sollen mit Befüllen der Route auf die Datei index.php im Ordner public umgeleitet werden. # all other requests shall be forwarded to index.php inside public folder RewriteRule (.*) public/index.php?route=$1 [L,QSA] Do I make unneccessary stuff in your opinion or is sth important missing?
@ProgramWithGio
@ProgramWithGio 3 ай бұрын
dont think you need public in your rewrite rule if your document root is set up properly & uses public in it
@lairotuT-Tutorial
@lairotuT-Tutorial 3 ай бұрын
@@ProgramWithGio ok, so you prefer the root setup instead of the mod_rewrite.c - My idea was just to have only one entrypoint for my appside adjustments. The other aspects cannot be written directly inside the web server settings to get rid of the whole mod_rewrite, correct?
@AdminTutorKami
@AdminTutorKami 9 күн бұрын
Thank you for the excellent video!
@ProgramWithGio
@ProgramWithGio 6 күн бұрын
You're welcome
@ilya_123__
@ilya_123__ Жыл бұрын
thank you!
@ProgramWithGio
@ProgramWithGio Жыл бұрын
You're welcome
Working With File System In PHP - Full PHP 8 Tutorial
9:52
Program With Gio
Рет қаралды 43 М.
Apache Virtual Hosts
40:20
Nerd on the Street
Рет қаралды 106 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
PHP Docker Tutorial - Nginx - PHPFPM VS Apache - Full PHP 8 Tutorial
14:39
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 355 М.
APACHE (PART1): WEBSERVER AND VIRTUAL HOSTS || Amy Codes
23:14
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 315 М.
Apache Server | Setup Virtual Host on Ubuntu Server 20.04
22:22
KeepItTechie
Рет қаралды 54 М.
Tmux From Scratch To BEAST MODE
12:44
DevOps Toolbox
Рет қаралды 135 М.
Basics of Apache Webserver
32:43
Amit Nepal
Рет қаралды 168 М.