How To Install PHP & What Are Web Servers - PHP 8 Tutorial

preview_player
Показать описание
Let's set up the local development environment. We need PHP, a Web Server, MySQL & Code Editor. There are many ways one could install these, you could do it manually, you can use "all in one solution" like XAMPP / MAMP / WAMP or you could use a better alternative like virtual machines or Docker. In this video, I will be showing you how to get PHP up and running using XAMPP but in the second section, we will use Docker. In addition to setting up the local environment, you will learn what a webserver is & how it works.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
THANK YOU!

LESSON 1.1

RESOURCES

TABLE OF CONTENTS
0:00 Intro
0:19 What is a web server?
1:19 Devtools to see requests
1:57 Most common web servers
2:18 Ways to install PHP in OS
3:21 XAMPP drawbacks
4:31 Installation for windows
5:59 Testing if the web server is working
6:29 htdocs
7:52 Code Editors
Рекомендации по теме
Комментарии
Автор

As a developer coding in PHP for 20 years I can say that this is the best series to help people who want's to learn PHP. You are doing a great job dude. I can only suggest you to add advanced business things. Like behavioural tests (Behat etc) or the things related with working in a team working with git. Debugging with Xdebug, profiling with Backfire, concurrent async php etc.
Wish you a great 2024 and happy new year... PHP Rulez ;)

erdincgc
Автор

No questions so far, I would like to thank you for creating this great course. Looking forwart to all 76 videos, currently.

niksatan
Автор

Please watch the ad to support this amazing tutorial

yourdeliverypartner
Автор

Timecodes:
0:00 Intro
0:19 What is a web server?
1:19 Devtools to see requests
1:57 Most common web servers
2:18 Ways to install php in OS
3:21 XAMPP drawbacks
4:31 Installation for windows
5:59 Testing if web server is working
6:29 htdocs
7:52 Code Editors

LearningToCodeAndDesign
Автор

Hey Gio, just found this amazing course. I am really looking forward learning everything you are teaching. I do have a question. Currently I am using a lightspeed server, which seems to be different from apache and nginx. Will this affect any of my learnings?

albertkorsukov
Автор

Hand down the best php course I ever found. Thank you!

shiningyrlife
Автор

For some reason my comment that I left here a couple of days ago has disappeared)

Thank you so much for your wonderful course!

You present the material in great detail without omitting important details and nuances. Really deep dive into the language.

Maybe you can find time and record a video on how to set up a working environment using these technologies: php + phpstorm + docker + git on wsl 2.

wsl 2 is a great tool that greatly simplifies local development. Microsoft has done a lot of work recently to optimize wsl and its performance is impressive.

There are almost no materials on the web covering this issue - how to set up a working environment with php + phpstorm + docker + git on wsl 2.

ВиталийМещеряков-цд
Автор

In 1:10 the illustration shows the request and response on the wrong sides of the Arrows.

memdohnaji
Автор

Laragon is also very good alternative for XAMPP/ MAMP / WAMP in your local server.

MogyahidAnsid
Автор

This is indeed how to learn PHP in a good way. Thanks a lot just refreshing what I had learnt earlier in PHP and what to go through the whole playlist.

katungiyassin
Автор

I'm more confused than I was before I watched this video.
There is too little instruction as to how to get the programs on your machine.

Jeff-vhzz
Автор

why did you remove the folder and files of dashboard inside htdocs?! How can I access php my admin then?!

Izkawi
Автор

God bless you much, you make my journey to learn php smoothly

OmaryMatobe
Автор

i'm from brasil, the best course❤ thank you!

julianey
Автор

every time i make changes to my files that are to be served it needs sudo permessions, why is that?

BaryaleyKhan
Автор

Thanks so much. I started learning javascript, however I find it difficult and overkill for my goal. So I just decided to learn PHP. Thank you for this, and if I earn mpney through this skill, I'll come back here and donate something.

arnelGo-fjqc
Автор

Thanks for this one. but what are u referring to as "production" when u say that xampp isn't good for production? u mean like it isn't good for building web applications for clients (like if you are working professionally). I'm a bit concerned cause I installed docker earlier on, and wsl 2 or so too, and my system (widows 10 OS) became so slow and started having issues so I had to reinstall my windows OS.

Zubbee
Автор

Hi Gio, I am having trouble with PhpStorm - keeps asking for PHP interpreter. I tried using the Docker image( the one you suggested), but I am a little confused. Carlo

csilipo
Автор

You earned a sub, you're pretty good. :)

CoreDreamStudios
Автор

Hey Im newbiee here, i am following your video and stuck at the txt file "Hello world" i am sure i was editing the file name in .php but why it still saved as index.php.txt where is my problem, so when i go to dashboard that section only show me txt file

massiepeter