This tutorial demonstrates how to setup Windows 7 with PHP, Apache, and MySQL, and how to install WordPress
Previously, you were introduced to self hosted WordPress, but how do you run WordPress locally?
Of course, you can open any old HTML file in your browser, but WordPress runs on PHP, so how do we setup your machine to parse these files? In today’s tutorial, we’re going to show you how you run WordPress locally for Windows.
When researching this, I was surprised to find just how much software exists for setting up an AMP stack.
But for this article, I’ll strictly be focussing on Ampps as after testing the three, I found it to be the clear winner. So, without further ado, go and download Ampps. As a side note, it’s worth mentioning that Ampps exists for OS X as well.
As with installing anything, on nearly any platform, it’s the usual next, next, next, and I Agree.
As soon as it’s installed, open it up, and you’ll find the servers start up automatically.
Click the Home icon in Ampps and it’ll take you to http://localhost/ampps, here it will also ask if you’d like to secure Ampps. It’s really a personal decision if you’d like to do this, though I did not choose to.
This is definitely where Ampps shines. It’s incredibly easy to install not only WordPress, but an impressive range of software packages. This is because it has Softaculous with it, so it behaves almost identically to most web hosts who have one-click installs.
We’re only going to be looking at WordPress for now, so to commence, using the left-hand menu, navigate to Blogs » WordPress, and then hit install.
The next step is simply to fill in the blank fields with whatever settings you want
Click Install when you’re happy with what you have. Then it’s just a matter of waiting a few minutes while it downloads and configures WordPress
I installed Ampps into C:\Ampps and created this WordPress install in C:\Ampps\wp, so to visit it, I need only browse to http://localhost/wp
From there you can browse to wp-admin, which puts us in good stead for the future lessons.
By using Ampps we’ve removed the need to use phpMyAdmin. If you’re interested, I encourage you to open it through the Ampps homepage and investigate. It’s not something we will be using often, if at all, after installing WordPress, but it’s possible that it’ll come in handy. Otherwise, some of its use is covered in installing WordPress on OS X.Share on Twitter Share on Facebook Share via Email Back to Top