Most of you might have used WordPress and you might have installed Wamp server too to work with WordPress. Because wamp server is an effective tool which helps to work with WordPress. Here I am going to share you an alternative way, that is to use Web Platform Installer instead installing a Wamp server. I hope you will like this.
Background
I was using WAMP server to work with WordPress. That is fine, but it will make some conflicts between our IIS and Skype in our machines, since both apache server and IIS and Skype uses same port (port 80) for the operations. If you need some solutions for those issues, you can see here:
WordPress Without Wamp Server
First thing you need to do is is installing Web Platform Installer. You can download this from Microsoft Web Platform Installer. Once you downloaded it, please go ahead and install.
Open Microsoft Web Platform Installer. And search for WordPress.
Figure 1: Install WordPress Through Web Platform Installer
Now select WordPress and click on Add and then click Install. Now you can see MySQL configuration page as follows. Give the password you need to set for root.
Figure 2: My SQL Configuration
Now click on Continue. Now you will be shown the perquisites to be downloaded. Just click I Accept to download MySQL and WordPress.
Figure 3: Perquisites to be downloaded
Now just wait for the process to be completed. This process will install WebMatrix which we are going to use as the platform to work with WordPress, MySQL, WordPress, IIS 8 which is compatible with WebMatrix.
Figure 4: Installing MySQL and WordPress
Note: If you have installed IIS 10 in your machine, the WebMatrix won’t work. To make it work, you may need to uninstall IIS 10 and install IIS 8.
Once you have installed everything go to your application and open WebMatrix.
Figure 5: WebMatrix Login
Once you logged in, you can see a home page as follows.
Figure 6: WebMatrix Homepage
Click new, App Gallery, WordPress and then click Next.
Figure 7: WordPress in WebMatrix
Type your site name and click next. Finally click OK. Now you can see your WordPress is installed and it will ask for initial set ups. If you are new to set up WordPress I suggest you to see here: Set up WordPress in Your Local
One you have done the initial set up, you will be able to login to your WordPress site. And you can see your files in your WebMatrix application.
Figure 8: WordPress Site Home In WebMatrix
You can run your wordpress site by clicking the button Run.
You can see your database under database section and also you can see the data and edit.
Figure 9: Database In WebMatrix
Change Port In WebMatrix
You can change the port to any number you wish in WebMatrix. For that go to Site tab, then select your site - Settings. In the localhost textbox you can edit the port.
Figure 10: Changing Port In WebMatrix
Conclusion
Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.
Your turn. What do you think?
A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.
See this article in my blog here.
Santhakumar MunuswamyPosted Dec 26, 2015, 2:23 AM
Thanks for sharing
Afzaal Ahmad ZeeshanPosted Dec 12, 2015, 4:52 AM
Ah, so you finally managed to get it to work! :-) Great job, Sibeesh.
Vinodh NarayananPosted Dec 12, 2015, 4:21 AM
nice
Maruthi PalllamalliPosted Dec 11, 2015, 11:03 AM
As per my knowledge concern we can do web matrix works into visual studio. Some times we need to install plugins. Webmatrix is a readymade tool. But I am not expert in php kind of wordpress and other. It may help us https://github.com/DEVSENSE/WpDotNet and IIS server supports multiple language binaries, we can host Adobe Flex(swf), java, Cold Fusion and more. I had a chance to recollect my knowledge with your post. Hope you done good one.
Sibeesh VenuPosted Dec 11, 2015, 10:26 AM
Maruthi Palllamalli About your first question, I still need to give a try. And about your second question, I am not sure we can use Wordpress in Visual Studio. If there is an option, Please share me. I am not saying about editor. Thanks in advance
Maruthi PalllamalliPosted Dec 11, 2015, 9:57 AM
I just want to know about Web matrix domain understanding, If we deploy any two different applications ( Word press and cshtml) in webmatrix. Is there any chance to pass values from one application to another. Why should we go for web matrix instead of visual studio or any wim editor ?
Sibeesh VenuPosted Dec 11, 2015, 7:11 AM
Ankur Mistry Thank you
Sibeesh VenuPosted Dec 11, 2015, 7:04 AM
Raja T Thank you
Ankur MistryPosted Dec 11, 2015, 7:03 AM
good, nice share
Raja TPosted Dec 11, 2015, 5:24 AM
Nice, Thanks for sharing
Sibeesh VenuPosted Dec 11, 2015, 2:41 AM
Amit Diwan WebMatrix is a product of Microsoft, I always love to use their products. To be frank , they are not updating this product at all. Since this is not compatible with the new version of IIS (In IIS 10), In that case you may need to downgrade your IIS. If that is that OK with you, you can try using it.
Amit DiwanPosted Dec 11, 2015, 2:14 AM
Port number issue between server and Skype always halted many developers. Will try WebMatrix. Is it better than using WAMP or comes with some unavoidable limitations?