Hello in this video we are going to take a look at setting up XAMPP on your Windows machine so you can code for PHP you could use something else like WAMP or some other server I'm choosing XM comes cross platform therefore if you switch between operating systems and it's also free if you switch between operating systems you are familiar with you know, its interface, you know, plugins, etc. Okay, so there's two things that you will need and apply the link to both of these updates afterwards. And what you will need is Excel, obviously. So go to the homepage, go to you know, the latest Windows version, it will start downloading on a conflict. I've already got it downloaded. Next, we need brackets.
This is more optional. This is an ID and you know, basically a text a text editor if you have your own tips. To remind, or the note could be PHP storm. It could be Sublime Text, it could be atom Visual Studio code, that doesn't matter if it was something else that you want to use, feel free to use that. I love brackets, especially for web development on a local machine. Because one supported by Adobe, no big company is open source the Lord plugin for it's pretty lean as well in terms of the amount of features he offers.
It doesn't really slow down your system. So just go into it, click download, it'll start downloading. Again, I'm then going to cancel it because I've already got it downloaded. And we'll need chrome open shortly. But before that, let's install what we just downloaded. So first of all, let's install XAMPP.
That's open it up. And it's a pretty straightforward installation process bar show you to make sure Yeah, far from your problem, click Next. And also just argument's sake just leave everything as default. I know I'm not going to need the mouse server or Tomcat or even Perl that PHP is required, like Perl is the extra p exam to use PHP and Perl and click Next select a folder for this will by default install it over here, like you know right about there. And I thought I already had installed it possible that I've got it with I put it in this directory online, you know, keep directory the same is pretty over there. So we're gonna go to D drive development actually wants that and yeah, I need to have on it, put that dirt directory so go there.
Click Next. Please select the default is not empty, I'm just literally gonna delete the contents of the folder. Again, you know, you won't have any problems like this, and I'm literally deleted the entire folder. I do not want to do that I wanted to make sure there wasn't anything in there that I needed. exam. I like quickly restore it just to make sure that I'm not deleting any, you know, important files.
We all know it's basically clean, I can get rid of it all get rid of that as I did before, and now for the cycle this bad boy. Okay, so click Next to install a I don't want there so we can get rid of that on check that we don't want to learn more about it. Click Next Click Next. And it will start installing. And I'll need to open up the Downloads folder again because we'll need to bracket after we've installed this it shouldn't take long at all I'm just gonna have a little you know water break, which of course you're filled to the brim oh yeah this is wait patiently for this to install. So exam stands for cross platform Apache, MySQL, PHP and Perl Pachi the server my SQL is for database stuff.
I'll be covering that later on in this series. And PHP. Obviously the language pill is a alternative back end language that you can check out don't care but tutorial series on pill I might create Whoa as well. Yeah, I wouldn't mind doing one pill. Don't use the offer but do quite like yeah, oh my do one pill I'll add it to my list. And you know, obviously I'll SSE towards the end of this series because basically my procedure was on Nirvana theory.
You know, the end of recording series is over, wrapping up with promotion, everything are starting to fail thinking about what's next and where our list of course is, I don't want to do but depending on you know, what, you know how long this course takes the demand for those topics may go up or down, and demand for other topics may go up and down as well. Some might slightly shift the order of courses. And I just want to take this time to mention you know, if you have any questions, feel free to pop message you know however you want us put us on our system Dockery. Okay. You can post on my educational websites on our learning Dakota, UK, you know, hit me up on Twitter Facebook on however you can feel free to reach out you got a question. You just want to say thanks or you want to say that my video sucked, you know feel free.
Any one of those. I welcome all and every sort of common I will prefer the nice ones don't get me wrong, but the not so nice ones can be funny from time to time. Wow. So this is almost a hopefully brackets doesn't take as long probably would have been quicker if I just inserted on the C drive because it is an SSD but Matt, what you're going to do got you probably saw a call or leave a space left on my SSD I've had that SSD since 2011 I have you know, reinstall Windows since then by about two or three times, free time, that's a free times and you just helped by 160 gig SSD back then I have a lot now. Now, you know, if I was to install the OS, again, our licious whacking a one terabyte, Samsung 860 EVO or something and that will last for ages and the most must have is on you know, other drives anyway.
So the main drive mainly will just be used for necessarily false windows or application that actually have been solved up on C drive sometimes even if you choose an another drive, it will still force you to insource some crucial files on C drive. And also, you know, any updates for Windows cetera will be installed on there but one terabyte whether it has to be cheese, if that's all you are doing with it. Something else. Okay. Oh, creating an installer. It's Almost there.
Almost there. Were 75% of the creating the own installer. And now we're done. Do you want to start the control panel now? Nope, we'll do that in a second. So first of all, let's install brackets.
So we are installing bracket. I don't want to install there at all. I want to install it. Do I already have it? Because this is a new version so I will install it. I just want to see you know where I've already got it.
If I do have it Nope, I don't have it. Don't have a day and the only other place I would have it would be in here. Nope but that is where I am going to put it. So what is the software? Click ok right Rocky's although I do this in store to that folder, and Yep, just have that one selected. Probably won't need initially but it's good to have it at open brackets.
I'm not a big fan of having that all I keep my store or you know, no explorer context menus as clean as possible. And click Next. Click Install. The UAC will pop up, click Yes. And hopefully this isn't gonna take as long as XM Don't want to jinx it but I would literally just recording the Mac version of this video. That's no thing if you own a you know Sony a Mac Pro, please check out that video and I'm gonna have a video on it as well.
We are just installing any on I was doing the video setup video for Mac and installing an exam was quick and it's done in brackets took quite a bit longer, you know relative to the amount of time it took to install exam whereas with this one it's obviously school just with moving I think it is going to be quicker for brackets an exam is going to be significantly slower so it has been reversed whenever Linux will be like maybe it'll just be instant like that or they'll just both be slow. Hopefully it's the first one but we'll see when I record that video. And obviously by the time you know release this series, that video will be available also you won't be waiting if you are in salt DNA on Linux and you come across this video while you look to them so loads of other people do poor man's like this a little bit further ahead just make sure it's you know the ball still moving and when he crosses it feel so good solid let us pause on the vertical point oh there we go.
And with unclick finish for now what we can do is launch of exam the launch of the exam control panel, yeah language American, which will be English. Click Save. And here we go. Okay, so what we want to do is start Apache and start my SQL. The other free stuff click Allow Access, pop. So the other free stuff we're not interested in at all.
If you you know, as part of the series want to use them, feel free to use them. And you can go to Explorer, which will take you to the actual directory where all our you know, you follow develop meant exam, I will actually need that. So all we'll minimize that for now. And you can make quite a few things in currency as well. And now what we want to do is Nope, sorry, I didn't want to open that now we can actually go to our browser, we should just be talking local host and in launching up our server, so let me show you something if I you know, you know, turn the server off, stop it, stop it. And I will try and run this.
It will not work because this server is no longer running. So if I launch the server back or go into it, it launches correctly. So where are these files so if you go to explore up, which is where we, you know, chose to install it, go to history, Doc, this is where everything is. So you've got this index dot php file. And let me double click this and it will open the open bracket. So you can launch a bracket do, you will see that we have this low file did this default file, allow access, this is the first time I'm doing it.
So you can change the preferences. But we have default, and this is this redirection to the dashboard. And we have the index dot HTML file, which is what we are seeing. So what we want to do is create a new folder. Oh, no want to create them. That moves and really funny.
To yo and now if we type in tutorial. There you go. We got enough in there. So let's create a file. So what we want to do in brackets, I want to basically add this folder. So we can either drag and drop it or we can go to File New Open Folder drag and drop is going to be your sounds going to do that and is open or Paula holder got the index fall folder tutorial nothing in there for right click New File index dot php in here I will explain all this in a separate video So pause want to make sure that this is working for you go Hello World some going on save an eye for reload it because there is an index file in there.
It opened that up and it shows hello world oxide. I will explain this in more depth in later videos. But that is it. You've got set you've got XM set up on your Windows machine Ready for development. If you have any questions, you know where I am, feel free to pop me a message. And as usual, I look forward to seeing you in the next video.