A while back, we showed you how to Install PHP on IIS on your Windows Home Server. Thanks to feedback from the community, it has been cleaned up, cleared up, and refined – the section on how to install MySQL has been expanded to include details and brief descriptions. What we didn’t show you in that tutorial was how to install pre-made php software packages. There are many free packages that you can use, and that are very feature rich and useful for any number of different purposes. We have a few tutorials ready for you on how to install these packages and the first up is blogging software, WordPress due to its popularity and demand. We Got Served runs on Wordpress (although not on Windows Home Server) and is a simple but powerful solution for anyone who wants to start a blog. Here we go:
Check out the WGS Wiki for the most up to date version!
What you will need
- Remote access to the server
- WordPress 2.5.1 or whatever the lastest version is
- MySQL – The database. You will want to get the “Essential Package”
What to do
First thing’s first, and you will need to download WordPress and MySQL and put them on a network share. Then you are going to either use Remote Desktop Connection or Advanced Admin Console to gain access to the server.
Install WordPress
After the database is installed, we are going to extract all the WordPress files to "c:\inetpub\blog\". Feel free to change blog to anything else, but it is easier to name it something obvious. It should look something like this:
You may notice the "wp-config.php" files. All the important database information is in there in plain text, including the password. This is why I recommend installing to the system drive rather than leaving it on the shares. It may be a bit paranoid, but do you want somebody getting access to your database?
After extracting the files, right click on the “blog” directly, and select “Properties”. Find the “Security” tab and click the “Advanced” button. Add the user "IUSR_SERVER", replacing "SERVER" with whatever you named your server. For instance, I named my server "UMMON", so I added "IUSR_UMMON". Now give that user Full Control. Enable “Replace permission entries on all child objects with entries shown here that apply to child objects”, and click okay.
- This will reset permissions on the files, and will revert back to being unchecked when it is done.
Now find “Administrative Tools” and open “Internet Information Services.” Under your computer’s name there is three entries. Open “Websites”, and then find “Default Web Site.” Right click on it and open the “New” group and select “Virtual Directory.” Not Virtual Directory from file. Now give the alias “blog” or whatever you want. This will be the path to your WordPress installation. Click “Next” and set the path to “C:\inetpub\blog” or whatever you named the directory. Click “Next”. It will give you options for the new virtual directory. Tell it to “Read”, and “Run scripts”.
Now you are done setting up the web service side of things.
Now you need to create the database.
Configure Database
If you haven’t installed MySQL yet, head over here first. Go the the start menu, and run “MySQL Command Line Client”. This will immediately ask you to enter a password. Enter the password you used when setting up MySQL. Now you need to create the database that WordPress is going to use. We’re going to use the name “wordpress” for the database. Feel free to change the name to whatever you want. It should look like this:
mysql> create database wordpress; Query OK, 1 row affected (0.01 sec)
Now that we have created the database, we need to create a user specifically for WordPress because using the root account is very unsafe and we recommended that you never do it. So we are going to create the username and give it permission to use the new database. The username we are going to use is “wpadmin” and the password “wppassword”. It should look like this:
mysql> use wordpress; Database changed mysql> GRANT ALL PRIVILEGES ON wordpress.* to wpadmin@localhost IDENTIFIED BY 'wppassword'; Query OK, 0 rows affected (0.01 sec)
Now you have the database and the info you need. Again, you will need to remember this or write it down.
Configure WordPress
Now navigate to your blog. It should look something like: "https://yourserver.homeserver.com/blog/" and you should see a page like this:
Just follow the screens until you get to the database configuration page. Use “wordpress” for the database name, “wpadmin” for the username and “wppassword” for the password. Don’t change the database host, but feel free to change the table prefix if you so desire, or if you are hosting more than one wordpress installation on the database. Just input the information that you want for the rest of it, and you’re done. Seriously, that is it. Just log into the site with the password it supplies and change whatever you want. You are a happy owner of a WordPress Blog.
![]()
Oh, the password is randomly generated, and that was the password for a testblog site I made just for this tutorial. So I know it does work. And for those wondering, that was a test install, not my main.
Done
Now you are done. Log on and blog away! For more, head over to the We Got Served Wiki.
Stay tuned for more PHP software packages!









9. May 2008 at 1:13 am
If you get ‘Your PHP installation appears to be missing the MySQL which is required for WordPress’, copy ‘libmySQL.dll’ from the \bin folder of the MySQL installation to the ./PHP directory. Make sure to rename the existing file ‘libmySQL.dll_bak.dll.
http://www.phpbuilder.com/board/showthread.php?t=10339599
16. May 2008 at 9:57 am
Sippervixx: Another way to avoid that is to make sure when you are installing mysql, to add the mysql dir to the path variable. This basically accomplishes the same thing, but with less chance of errors.
But thanks for the info.
16. May 2008 at 5:29 pm
I was thinking about doing exactly this, adding WordPress to my Home Server. One to have a test platform and a second install to use as a backup tool for anything digitalized such as certain important mail. Thanks for the tutorial.
p.s. love the new theme!
6. September 2008 at 3:41 am
I have a problem. I am by no means a mysql or php expert. I got through everything up to the point where you navigate to the blog site. When I do that I get a “Page cannot be found” error. I know I am getting to the directory because i can create an index.htm and it will load. I checked the documents setting and index.php is there.
What am I missing?
Thanks.
6. September 2008 at 8:13 am
Michael, sounds like you haven’t added php5isapi.dll as a handler for php files. Try going over the tutorial step by step again.
If you are still having problems, check out the WGS forum for help and people who have similar problems: http://forum.wegotserved.co.uk/index.php?showtopic=1795
18. September 2008 at 11:09 am
Wow thanks! I have been blogging for quite a while now but I still see myself as a new user in so many ways. Sooner or later I plan to get into all of this and I will be referring to this blog to get me through it. Thanks I really appreciate it!
20. November 2008 at 2:10 pm
How to change file permission ?? if insstall whitout fantastico..
4. March 2009 at 11:12 pm
Well, perhaps it’s not too late to bring this thread back to life. Anyway, Hey Everyone,
I’m running a WHS in my home and I’m getting ready to install WordPress as my blog now. My question is would it be a risk or perhaps a problem to install the WordPress files to a D: shared directory on the server opposed to the norm c:\inetpub\blog directory on the server? FYI, “blog” can be named anything of course. In other words, could I copy all the WordsPress files to the pooled storage opposed to a non-pooled storage drive such as C:?
Thanks in advance,
-Spoon
5. March 2009 at 4:08 am
Hi,
Once You have the Wordpress installed on a server at home how do you configure to get published out to the internet?
Regards,
28. May 2009 at 9:36 pm
Thanks for the tips. I myself had a lot of trouble getting php and mysql to work on IIS.
30. August 2009 at 11:22 am
nice tutorial mate, i will do in my home server, thanks.