php1

Add-in Walkthrough & Review: PHP, MySQL, and WordPress Installers

Sometime ago, I published an article on how to host your own blog on your WHS.  I used the instructions documented in our wiki on how to install PHP, MySQL and WordPress.  These instructions work, however, if you miss a step or mistype something you may find yourself unable to get it all working and without a good way to debug your installation steps.

Enter Nigel Wilks, fellow WHS MVP and moderator over at mediasmart.net.  With input from our very own Drashna, Nigel (or Cougar as he is known in the mediasmart.net forums) created 3 add-ins to automate the tedious steps required to install the prerequisite software.

The Walkthrough

The first add-in to install is the PHP add-in.  Installing this add-in is as simple as any other add-in.  Copy the msi installer to your D:SoftwareAdd-ins folder, open the WHS Setting Window in the console and install the software from the Add-ins tab, as shown below.

php1 thumb Add in Walkthrough & Review: PHP, MySQL, and Wordpress Installers

php2 thumb Add in Walkthrough & Review: PHP, MySQL, and Wordpress Installers php3 thumb Add in Walkthrough & Review: PHP, MySQL, and Wordpress Installers

That is it.  When you reopen the console, you will not find a PHP tab in the main console window, or in the Settings window.  It is simply an installer (and uninstaller) for PHP inside the console app.

At this point, I recommend you open your browser (from the WHS desktop) and enter in http://SERVERNAME/test.php where SERVERNAME is the name of your WHS.  If all went well, you will see a webpage similar to one the following:

php7 thumb Add in Walkthrough & Review: PHP, MySQL, and Wordpress Installers

At this point, I wanted to check out what happens if one uninstalls the add-in.  Pre-uninstall:

php5 thumb Add in Walkthrough & Review: PHP, MySQL, and Wordpress Installers

Post-uninstall:

php6 thumb Add in Walkthrough & Review: PHP, MySQL, and Wordpress Installers

As you can see the PHP directory is removed when you uninstall the add-in.


Enjoyed this post? Share it.

If you enjoyed reading this post, then why not share it with your friends and followers?

About Jim Clark

Hello. I’m from the heartland of the U.S. Lots of corn and beans, although Iowa is a lot more than just farmland. It also has a few computer enthusiasts (no, not me!). I’ve been around PCs since I got my 1st PC XT aloooong time ago. WGS is one of the first sites I found centered around WHS. And the best. Every once in awhile, I do get away from the KB and enjoy time with and my wife and our 4 kids. And I do have a day job.

Sign Up for WGS Daily News

If you don't want to miss out on the latest news from We Got Served, why not subscribe to our daily digest? You'll get the day's headlines and a short summary of each news item delivered straight to your inbox each morning.

, , , , , , , , , , , , ,

  • http://intensedebate.com/people/urmaster urmaster

    I deleted all the default users to be on the safe side.

  • http://www.intensedebate.com/people/urmaster urmaster

    I deleted all the default users to be on the safe side. Need sleep now

  • http://intensedebate.com/people/Drashna Drashna

    http://wpmututorials.com/plugins/advanced-export/ :)
    And can be downloaded and installed automatically from inside WordPress too. Just look for "Advanced Export for WP and WPMU"

  • master_marcel

    Nice all those add-ins. Are there any plans to build a Joomla-installer?

  • Nigel

    Your not the first person to ask, so I might look after I've finished Gallery 2.

    • master_marcel

      Thats awesome Nigel! There is Linux distro called Amahi. That distro makes it possible to install a kind of web apps. It should be nice if we can install a lot of web apps on WHS. Like Joomla, WordPress, Gallery 2, Extplorer, Wiki, phpmybackup etc. I'm not developer otherwise i helped you.

  • Nigel

    Thanks!

    Whilst I can do these relatively quickly, it’s the support of current ones that slows down the new batch. Recently I’ve been playing on German WHS to try and work through some issues with the MySql Add-In on the German OS, which I’ve now done and will be uploading new versions of PHP and MySql which address these localisation issues on non English installs.

  • Anthony

    I love it, great work. You commented that you might work on Joomla, could I really test you and ask for both Alfresco and Joomla? Thanks for any thoughts.

    • Nigel

      I can certainly look into it although it does seem to be an installer already although not an Add-In?

  • http://www.cpuhack.com Adam

    Splendid work, Nigel!

    It doesn't matter how many times I've installed MySQL, PHP, etc., on a variety of platforms…you made the install process a dream. Thank you.

  • David

    Hmm. For some reason when i get to the " https://SERVERNAME/pma" page and enter "root" i get page cannot be displayed? Perhaps its because i used the wiki version and did the mysql command line part? I unininstalled everything i did when i found this walk through but no luck.. just get "The website cannot display the page" when i enter root with no password? Any help please??

  • David

    Alrighty! I got it working. I suspected it was the previous attempt in doing the manual way as posted in the wiki. Then when uninstalling that attempt must of messed something up. So I did a clean install of WHS and installed php and mysql.. works great! I also installed the "System Restore" just incase anything goes wrong. Thanks for these addin's and walkthroughs. Im going to try to install Joomla on my whs… but ehhh tommorow. Its 3 AM.

    night

  • http://intensedebate.com/people/taweekly taweekly

    I have followed this howto and have Php and MySql installed but myphpadmin will not let me change the password. says I have no privieges. Can you help?

  • http://intensedebate.com/people/taweekly taweekly

    this is the error I reciece after logging in to myphpadmin and trying to change password.

    ErrorSQL query:SET PASSWORD = PASSWORD( '***' )MySQL said:#1044 – Access denied for user ''@'localhost' to database 'mysql'

    Can some one help me with this

  • http://www.valdecircarvalho.com.br Valdecir Carvalho

    Why don't use some a WAMP installation like easyphp? I've been doing this and it's working fine

  • Pingback: Hello Gang! | Phat1 Home Server Blog

  • Ian

    I was unable to connect to phpmyadmin from any system but the WHS itself. I went into the WHS firewall and enabled port 443 and the issue was resolved immediately.

    I didn't see this written anywhere, so I thought I'd throw that info out there for those that have trouble accessing it remotely.

  • http://tinyurl.com/themeforestz Lelah Ungar

    Hey, I don’t think telling you this on your post Add-in Walkthrough & Review: PHP, MySQL, and WordPress Installers | We Got Served is the appropriate place however I could not find a contact form inside your somewhat messy theme (sorry). My visitors used to tell me exactly the same thing so I switched over to a brand new theme from http://tinyurl.com/themeforestz. I have only gotten kind comments since then. Regards, Lelah Ungar