I have been in school for software development. And i have learned more from your tutorials than from the school. So huge thanks for that. Keep doing what you do Dani!
@ShukoKuriyami10 ай бұрын
This took me like 2 hours to do so i just literally did all what he did and now in just a few minutes i can finally start programming
@fissionchips223 Жыл бұрын
Feels like I'm learning to take off and fly in a fighter jet my first day on the job. Dani! You are a gifted teacher, my man! Your understanding of what people are thinking when they first approach this is amazing. Thank you so much not just for your terrific help, but for NOT FORGETTING what it's like to start out and what thoughts go through your head as you first approach this. This is a real gift and I thank you so much for focusing so well on keeping people from getting overwhelmed - you are absolutely talented! Cheers!
@vidhusansurenthiran5730 Жыл бұрын
finally a video that doesn’t rush and explain everything in details. you are really good at explaining and a Great teacher
@santiv6094 Жыл бұрын
im going to use this course to learn php and create a web site for a potential client, so i hope you continue this course, because until this moment your way to explain is being really good for a guy like me that have been programming for a couple years now with other backend languages and with web development. Thx for thee content!
@iamacopy7349 Жыл бұрын
8:56 FYI: On mac the path should be /Applications/xampp/xamppfiles/bin/php-8.2.4 where 8.2.4 stands for the version number (which may change in the future.)
@Dylson10 ай бұрын
Worked like a charm! Cheers mate!
@DarkenedRay5 ай бұрын
Thank you, I couldn't find anything online for this
@spiderichard4 ай бұрын
Doing the lords work ♥ thank you so much
@kellenmoore93683 ай бұрын
Thank you so much. I've been trying to figure this out for over an hour smh
@ANJ_gaming6 ай бұрын
Gotta say, I wasn't even looking to really learn php but one thing led to another and now I'm here, I really appreciate how beginner friendly you have made this course and how you break down basically every step into a video. Makes it easier for an ADHDer like myself to not give up when I inevitably get stuck and am only 1/30th the way into a 1 hour video xD
@yousifky Жыл бұрын
One of the best teachers on earth ❤
@remasrebas3776 Жыл бұрын
I truly appreciate how you are addressing concerns that might be daunting for beginners. Your way of reassuring and creating a comfortable learning experience is invaluable.
@sta8hs132 ай бұрын
I have created many wordpress websites, I have worked as a developer in the past (Angular and .Net) and these courses are such a relief..! You are such an excellent teacher! Can't wait to learn :))
@davidolaye5771 Жыл бұрын
I’ve learnt alot from you starting from your html and css tutorials. You are simply the best ever Thank you so much.
@JonTheJotter3 ай бұрын
THANK YOU, I mainly followed this tutorial just to setup the localhost server bit as I was struggling so bad trying to do it manually (I’m very much new to all of this) xampp finally did the trick.
@codewithmtk Жыл бұрын
One of my best Channel to watch when i started learning to code and specially web development, You just reminded me my starting days. Keep it up
@darylepstein9790 Жыл бұрын
This guy is just awesome. Amazing dynamic teaching and examples
@Dani_Krossing Жыл бұрын
Thank you so much! 🙂 Means a lot
@JelaieАй бұрын
The tutorial you provided is so easy to understand and I am loving it, hope for more guidance.
@akashgola21538 ай бұрын
Now this is how a setup tutorial should be like 🙂.
@samkroes461110 ай бұрын
Super helpful! Thank you so much! I'm also in school for software development, but my professors are having us use a virtual environment instead of installing anything locally. You've answered a lot of questions I had, so thanks!! Your videos are the best!
@dimoik7005 ай бұрын
Your detailed explanations helped to install Xampp &local server for PHP
@qwonnnnnnn Жыл бұрын
Love the content Dani! Not sure Im the only one that did this but be careful when you make the htdocs shortcut you dont move the file completely out of xampp as i did. It was an hour of hair pulling frustration for myself 😂
@atlantic_love Жыл бұрын
Excellent work, Dani!
@adithyabhat58311 ай бұрын
I understood reallywell . Thank you so much!!!! Loved it
@mikialem37277 ай бұрын
Thank you so much... you are truly talented in teaching!
@itsyoboiarroi Жыл бұрын
bro you're the best in explaining fr.
@mhamedfattoum6179 Жыл бұрын
i love how i was studying php in class and i have like exam on it in like 2 days just when i saw dani uploaded this vid ty mate
@cruzinsweetsntreats Жыл бұрын
Yes, for safe testing, setting up a local server is good. Yet I found an sFTP Extension for VS Code that you can use an active web server. I ended up using the FTP (21) port instead, as it worked best for my VPS. Through the functions, you download / set the site to a local folder for editing. Works well. 04-16-2023 0141 PT
@legendarypanda13274 ай бұрын
Bro thanks soo much i have been looking around for a video that explains this easily for too long 😅
@saralynnech Жыл бұрын
Thank you for this excellent resource. Very easy for beginners to follow, you are clearly a natural educator. =)
@gaurikshirsagar46987 ай бұрын
Great mann!!
@shlomihaser7894 Жыл бұрын
Looking forward to the next videos!
@willski_8 ай бұрын
thank you so much sir, im computer engineering student and i have to study XAMPP and PHP for my course "Application Website"
@CheppaBenkesse-z8tАй бұрын
Beautiful video
@neileder9896 Жыл бұрын
Best teacher! 🙇
@abassataroconteh42624 ай бұрын
This video demonstrates how to set up a local server for PHP development using XAMPP, including installing the software, configuring the server, and creating a basic PHP file. Key moments: 00:00 Setting up a website using PHP requires installing a local server, like XAMPP, which is easy and safe, allowing offline website development without uploading to the internet. -Different local servers like LAMP, VAMP, XAMPP, and Docker are available for installation, offering various options for setting up a server. -Installing XAMPP is recommended for its ease of setup and familiarity, making it a popular choice among website developers. -Downloading and installing XAMPP involves selecting the appropriate version for your operating system, ensuring a smooth installation process for offline website development. 03:23 To set up a local server for PHP development, you need to install XAMPP, start Apache and MySQL servers, create website folders in htdocs, and edit PHP files in your preferred editor. -Installing XAMPP and starting Apache and MySQL servers are essential for running PHP locally on your computer. -Creating website folders in the htdocs directory allows you to access and manage multiple websites on your local server. -Editing PHP files in your preferred editor, such as Visual Studio Code, enables you to develop and customize your website's functionality. 06:45 PHP files allow for PHP code to run within HTML files seamlessly, enabling conversion of existing HTML websites to PHP by simply changing file extensions. -Setting up PHP in Visual Studio Code may require manual configuration in some cases, ensuring the executable path is correctly linked for PHP installation. -Using PHP tags within HTML files allows for the execution of PHP code, demonstrated by writing and displaying 'hello world' using PHP echo statement. Generated by sider.ai
@yaseerakingbade3 ай бұрын
bro u really helped me, thanks i love you
@truekili92154 ай бұрын
When I run apache it always just says Error: apache shutdown unexpectedly. I see nothing about it in the comments. This is my first time installing xampp. I made sure to install the latest version (8.2) and install it in an unrestricted folder. Will update in the replies if I find a fix.
@EaseforPeace-g5vАй бұрын
Same I think the latest version is the problem
@Mel-yh9muАй бұрын
You probably need to change the port number
@simphiwedlamini1954Ай бұрын
I would suggest you reinstall it offline disable your WiFi and your antivirus
@genosokennethrasheeda.38867 сағат бұрын
run it as administrator
@dynamics365series23 ай бұрын
this makes alot of sense. thanks
@joshuamichaelpeterbandas5 ай бұрын
thank you very much for your help 🙏🙏🙏🙏🙏🙏
@programmingholic Жыл бұрын
Thanks for Sharing.
@sodiyaraymond2746 ай бұрын
Prof. Dani Krossing, please MySQL server isn't running on my XAMPP Control Panel. saying "Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues. If you need more help, copy and post this entire log window on the forums". WHAT SHOULD I DO?
@4kPcGaming Жыл бұрын
this gets me back to the 1'st year of Uni :D
@Dani_Krossing Жыл бұрын
Me too hehe. It's been so long since I taught PHP. 😂
@tomcoop97507 ай бұрын
Fantastic!
@PreetKadam-hj9fi2 ай бұрын
U are a God brother...arigato
@fostajocharlotin5253 Жыл бұрын
I m here for the second lesson 😀
@khabbazz893 ай бұрын
awesome
@sarahschwartz489415 күн бұрын
Thank you!!!!!
@jhvhest Жыл бұрын
You don't need xampp anymore. You can use the server function of php itself. You can manage easy between versions with brew. A mysql server can be spin up with a docker command or docker-compose file.
@Dani_Krossing Жыл бұрын
Yes you are correct. 🙂 I looked into Docker when a commenter mentioned in the last video, however I still made the decision to go with XAMPP, for the simple reason that it is MUCH easier to comprehend setting up for beginners. Doing what I did in this video, vs what this guy is doing in his video, talks to two different audiences, and will most likely scare people away who are already intimidated by PHP. 😊 kzbin.info/www/bejne/aHPbmWh8g6ytpLM&ab_channel=VincentStevenson But I definitely think that Docker is worth looking into, as soon as people can comprehend the setup process. 🙂 For this course though, I want as many people on board as possible from the start.
@jhvhest Жыл бұрын
@@Dani_Krossing Thanks for the link. I will give it a look tomorrow morning. Xampp use to give me a lot of headache and made me stop using php. 😂. Everybody has their own experience. Maybe i should give it another try.
@Dani_Krossing Жыл бұрын
If you have Docker up and running then you got yourself a cool tool on hand. 🙂It is definitely an awesome choice over local servers like XAMPP, WAMP, LAMP, LEMP... etc. In the end it doesn't matter what tool you use, as long as it gets the job done. 😊
@eggxecution3 ай бұрын
nice
@guillerjamesmantala73113 ай бұрын
thankyou sir
@丅-k3r3 ай бұрын
yee it worked!
@kylehawks2966 Жыл бұрын
Hi, Switched over to your updated version, and yes everything went great on my laptop....but not on my tower, Can anyone suggest a tutorial for Brackets editor and php so I can come back and Follow this great tutorial?
@ShadArf Жыл бұрын
Thank you dear Mr.dani I hope you create your videos with facecam
@ember533211 ай бұрын
'php is used for 78% of websites that we know of in 2023' so WHY wasn't I taught it on a web development course 😭 this tutorial is saving my life right now.
@Dani_Krossing11 ай бұрын
Most courses from my experience, are focusing more on front-end languages, such as HTML, CSS, and JavaScript. 🙂 I remember that 11 years ago when I was at the university, they taught us PHP during my bachelors... However they saw it as a failure, since most people couldn't follow along, because most people didn't have a interest in learning it... So now they are just focusing on teaching JavaScript at a higher level. So I think PHP isn't taught many places, simply because it isn't as "flashy" as JavaScript, and students aren't passionate about it. 😅
@ember533211 ай бұрын
Ah I see thank you for clarifying! After 3 months of job hunting I finally got an internship as a web dev and I’m not sure they realised I’ve never used it 🤣 so now I’m trying to learn it ASAP and I couldn’t do it without this playlist. Thank you!
@Nebiou_coding3 ай бұрын
like you man
@AxxionMarketPlace-iu6ri Жыл бұрын
Thank you
@devoiddude Жыл бұрын
is live server extension in vs code the same thing?
@rosecreeper4353 Жыл бұрын
Thanks
@bogdanapache8263 Жыл бұрын
best
@garyfox8701 Жыл бұрын
Hi Danni... I am a long time subscriber and huge fan needless to say... My question is this... I set up XAMPP on a Mac as per your instructions many years ago and the thing that got me was every time I saved my files in the "root" folder of my website, to check they worked with XAMPP I had to drag all my 'new' files over to the htdocs folder and that is as much trouble as uploading to the server in the first place... Can I use the htdocs as my "root" folder in Dreamweaver?
@Dani_Krossing Жыл бұрын
I'm not sure how Dreamweaver functions, but it sounds to me that you have complicated things a bit for yourself. 😬 Why don't you just edit the website directly inside the htdocs folder? 🙂 Editing and working on a version outside the htdocs folder, and then dragging it in every time, sounds like a big workaround?
@Stoney_Eagle Жыл бұрын
You should be able to open a Dreamweaver project from anywhere, XAMPP also allows you to set your Dreamweaver folder as the root directory, that restricts you in having only one website but should be the best option 😉
@garyfox8701 Жыл бұрын
Thank you both for the replies. I'll give htdocs a go as root folder and hopefully increase productivity. Appreciated.
@HasanNaeem-h8h3 ай бұрын
plz..make a video about php IMS !
@KomdyIzHere2 ай бұрын
5:59 Where did the new window come from? Which is writing 1. Select language......
@nayrbsworld30483 ай бұрын
What if im using sql server management studio? Can i still use xampp?
@scripturelife895 ай бұрын
I've already got a website up and running with html,css. In order to get PHP going do I need to save that website inside on the htdocs folder too?
@KayleighOfSuburbia6 ай бұрын
If I'm building a website with multiple pages should all pages use extension .php if only one (the contact form) actually uses php? or should the others stay as .html?
@1iglesiaknoelvindhlanpsalm72011 ай бұрын
I can't download XAMPP. I clicked on the click here and the download latest version. It just said "File will be ready in 5...4..." then skips to 0 but it doesn't download. I tried using a different browser but the same problem occured.
@nishatsulsabil5238 Жыл бұрын
❤❤❤
@testarossa..10 ай бұрын
so first before i take this tutorial should i learn first html ?
@Dani_Krossing10 ай бұрын
Yes. It’s not “required”, however most PHP is done alongside HTML, so you will struggle with some parts if you don’t know it.
@_john_aaron_ Жыл бұрын
can you make a video tutorial for visual studio code because my vsvcode said "no such file directory"
@AksamRafiz5 ай бұрын
I dont have php.exe for some reason in my xamp folder...
@celestedromgoole115011 ай бұрын
What is the Apache and Mysql want start when you try to do this
@Dani_Krossing11 ай бұрын
The apache server is needed in order to view your website inside the browser. And the MySQL server is needed in order to access the database system, which we will use later in this course. 🙂
@NourSayegh-sj3ly7 ай бұрын
i fixed that but when i try to write inside the Visual code program and refresh my localhost i didn't see any thing inside it, how i can know what i do wrong?
@TheADDScratcher8 ай бұрын
Completely lost me at 6:11. Following along on a Mac. Save file in folder where? Visual Studio or XAAMP? Where did you click?
@Dani_Krossing8 ай бұрын
You need to make sure you have quick access to the XAMPP folder you installed. 🙂 This is btw one of the reasons I stopped using Mac for development, back when I had one for work. 😅 Apple doesn't like any 3rd party software on their devices, and will do everything in their power, to make it hard to do.
@TheADDScratcher8 ай бұрын
Thanks for the fast response. Yeah, I tried running in Windows 11 Pro using Parallels and Apache on XAMPP will not Start (error: VCRuntime140.dll missing (?) ) MySQL does start.
@asmaa025 ай бұрын
i tried downloading xampp on my computer but it fails for some reason first it was the antivirus, says the website is sus. so I puased it for the website then tried to download it will display a button for downloading but when I click it counts down but will never download, can you please give me a solution for this issue or recommend another local server
@daryamansouri412 Жыл бұрын
because I have other sql apps the mySQL part of the Xamp does not run for me what should I do about it
@trulygifted630111 ай бұрын
You have conflicting ports. My sql is typically already installed as port 80 or 3306 when running local. Apache tries to use the same port which causes conflict
@EY-pe9mt8 ай бұрын
wait i have a question i cant press run directly i have to always open it from local host? + thank u ive been using online editors for my course but now we have to use the server ..
@Dani_Krossing8 ай бұрын
Yes if you wanna see your website from your computer, you need to do it from localhost every time. It’s always an awkward and slightly annoying process at the start, but it’s how websites are developed once you start implementing PHP. 🙂
@MicoleKelein Жыл бұрын
I've been searching for a tutorial like this for so long... Your video was extremely helpful, but I found a video in Insta WP which explained it better and helped me a lot...
@omarhabib82647 ай бұрын
Error: MySQL shutdown unexpectedly. 7:37:03 PM [mysql] This may be due to a blocked port, missing dependencies, 7:37:03 PM [mysql] improper privileges, a crash, or a shutdown by another method. 7:37:03 PM [mysql] Press the Logs button to view error logs and check 7:37:03 PM [mysql] the Windows Event Viewer for more clues 7:37:03 PM [mysql] If you need more help, copy and post this 7:37:03 PM [mysql] entire log window on the forums (everytime i try to start MYSQL this message is sent what should i do and why is it happening?
@Dani_Krossing7 ай бұрын
A couple of things could be wrong here. 🙂 One is that you could be blocking the port that XAMPP uses by default, which is port 3306. This can happen if you have another server software installed, which also uses that port by default. For example if you have MySQL (the standalone software) installed on your PC, then it could be causing it. Another issue, is if your firewall is blocking XAMPP and MySQL. So if you are using a 3rd party firewall program, then double check it isn't doing that. Third, if XAMPP was installed incorrectly (maybe something happened during installation), then you might wanna try re-installing XAMPP. Hope you manage to fix it. 🙂
@omarhabib82647 ай бұрын
@@Dani_Krossing thank you so much it was my SQL and btw youre really great at what you're doing please continue
@c7ber.177 ай бұрын
Can we do same on linux? (Delete all in htdocs and replace with the actual websites we build)
@Dani_Krossing7 ай бұрын
I’m pretty sure it’s the same. I have newer used Linux, but I can’t imagine this step being any different. 🙂
@c7ber.177 ай бұрын
@Dani_Krossing thank you for the fast reply I couldn't imagine 😄 BTW your tutorials are really useful 💜
@sankarachipungoАй бұрын
My is not installing xampp-control.exe Only have xampp-control. Any help, please?
@fredericoamigo Жыл бұрын
How do you do this on mac?
@maximiliankippenberg7517 Жыл бұрын
Hello Dani, I have followed every step of your tutorial and when I tried outputting Hello World on the website, just like you did, it didn't work. That was because somehow it wasn't able to understand the (I can tell, because it didn't turn blue like in your video. I also noticed that when doing this thing were you have to copy this path of php.exe and put it in this code, the only line of code that appeared on my screen was the one I had to put the path in (maybe thats normal, idk). Can somebody pls help me?
@DazeyGG Жыл бұрын
I converted my html files to php because I need the database access, however it did break my website, im not sure where it is going wrong. Still working on a solution to find the issue so I am still watching but let me know if you can if you have a solution.
@Dani_Krossing Жыл бұрын
If you have a simple HTML website with the .html extension, and you then convert it to the .php extension, then nothing should break. 🙂 It is extremely common to convert your site in this way. The only thing you need to be aware of, is that if you have any links on your website, for example in your header menu, then you need to change the links to match the new .php extensions. So instead of: It should be: If anything else broke, then it wasn't related to changing the extension to PHP.
@DazeyGG Жыл бұрын
@@Dani_Krossing youre right, I was using dreamweaver and PHP gets messed up there, I used visual studio and had no problems. I do have a question about the URL itself, I don't want my website pages saying /home.php or /blog.php how do I remove the extension in the URL?
@LynnNyathikaKiarie Жыл бұрын
hi,nice video but i have a problem ....when i open localhost it does not open.kindly advice
@Dani_Krossing Жыл бұрын
Mac or Windows? And did you make sure to start the servers, and delete the pre-installed files inside the "htdocs" folder?
@lynnkiarie3930 Жыл бұрын
@@Dani_Krossing windows. I have followed your video to the part where i create a new folder and name it my website. Then in your video you open localhost and shows my website. Mine doesn't show anything..I've tried re installing xampp but still no progress
@richardsorreda71315 ай бұрын
sir when i start running the 2 mySql has error 12:13:34 pm [mysql] Status change detected: stopped 12:13:34 pm [mysql] Error: MySQL shutdown unexpectedly. 12:13:34 pm [mysql] This may be due to a blocked port, missing dependencies, 12:13:34 pm [mysql] improper privileges, a crash, or a shutdown by another method. 12:13:34 pm [mysql] Press the Logs button to view error logs and check 12:13:34 pm [mysql] the Windows Event Viewer for more clues 12:13:34 pm [mysql] If you need more help, copy and post this 12:13:34 pm [mysql] entire log window on the forums this is the error can you help me this problem sir?
@NourSayegh-sj3ly7 ай бұрын
plz when i wrote localhost on Google didn't happen like u so what i can do?
@Dani_Krossing7 ай бұрын
You need to write it in the URL, and not on Google 🙂 otherwise it won’t work. Make sure you type out localhost fully, without clicking and suggestions that may dropdown.
@batnoy779 Жыл бұрын
after install XAMPP on my C drive, I can't connect to mySQL server. How can I fix it?
@amandasjoberg463 Жыл бұрын
i accidentaly clicked "no" on the "we value your privacy" box at 1:59, is that a problem and if so how do I fix it?
@Dani_Krossing Жыл бұрын
That is not a issue. It's just the standard privacy pop up all websites have, and some might even argue that you should just say "no" to all of them. :)
@janren1510 ай бұрын
When I type localhost, it doesn't display it only says "Forbidden, You don't have permission to access this resource." Please help asap I just want to try and study simple codes. :(
@valentinbonchev748526 күн бұрын
Im sorry for the noob question but why do we need to download XAMPP? Cant we just "download php" on visual studio code and be free to do the same thing?
@Dani_Krossing26 күн бұрын
PHP is a "server-side language", so it only runs on a server. Which is different than languages like HTML, CSS, and JavaScript, which are all "client-side languages", and runs directly inside your browser. So having PHP installed just on it's own, isn't enough, since it won't actually work if your website isn't running on a server. We use tools like XAMPP, in order to very easily run a server, when we are just working on our websites locally on our computer, which allow PHP to work "offline". 🙂 There are of course MANY other ways to create local servers to get this working, but my preferred method is using XAMPP.
@valentinbonchev748521 күн бұрын
@@Dani_Krossing Thank you!
@AdolfZcoder Жыл бұрын
Hi Dani, i followed the tutorial but whenever i start the mysql it stops, please help
@riteshchavan83089 ай бұрын
😊
@ukoni866710 ай бұрын
Is XAMPP a server simulator for a local computer. Is not actually a real computer dedicated server right?
@Dani_Krossing10 ай бұрын
Yes
@burakkeskin9708 Жыл бұрын
Thanks a lot
@kylehawks2966 Жыл бұрын
Alright I'm just suposed learn php ...thanks anyway
@Dani_Krossing Жыл бұрын
You can't learn PHP without a server, so like I mentioned in the video, a server is necessary. 🙂 Unless you wanna just practice typing it without ever outputting any of it inside your website....
@bangtanbangtanlove11446 ай бұрын
Hi. Can you give us if you know other programming language links. Like java python c#....
@Dani_Krossing6 ай бұрын
I have a few C# courses on my channel 🙂 they can be found on my channel page
@bangtanbangtanlove11446 ай бұрын
@@Dani_Krossing thank you I will see☆
@j17xc10 ай бұрын
i dont understand how to get the front page if you give the name in the folder
@j17xc10 ай бұрын
7:25
@EmekaDavid-k8d Жыл бұрын
Please mine is showing me, Error: Apache shutdown unexpectedly