Install Moodle 2 on Windows Server 2008 R2, PHP, IIS, MySQL

13 thoughts on “Install Moodle 2 on Windows Server 2008 R2, PHP, IIS, MySQL”

  1. Dear Alex

    Firstly, thank you for addressing the problem of Moodle 2.0 installation on Windows server.
    this is the first time I’ve ever left anyone a reply.
    Your instructions are clarity itself and if I had a bit of savvy I’m sure I could work around my problems.
    Alas, my installation differs in certain significant ways:
    1. I have 2008 Server sp2 not 2008R2
    2. I can’t dedicate my server exclusively to Moodle: I can add new websites under ‘default’ but when I follow you instructions, (not surprisingly?) the install can’t find the files.
    3. When I create folders in C: ie Moodle and moodle data I get the startup page then receive a PHP error “database driver problem detected. The site admin should verify server config [[sqlsrv extension not present in php]]” although I checked and the extension is present as you directed.
    In an earlier part of the instructions, ‘testphp’
    was fine but the browser couldn’t find phpinfo.php.

    Sorry if I sound like a complete plonker…(?) but nobody else in my school knows any more than I do (I’m an English teacher!) and Moodle 1.9 isn’t an alternative for a variety of reasons (mostly to do with problems organising student groups and linking to existing MSSQL server).
    I’m sure you’re incredibly busy but I would appreciate any suggestions you might make. (And, we can’t hire someone who knows his bum from a hole in the ground…I’m all there is…the one-eyed man in the valley of the blind.

    Regards

    Kevin Ramsey

  2. Thanks to Alex

    I created my very own moodle using your instruction.

    1st it took me a lot of failure but, when I figure it out the testphp.php has another extension (testphp.php.txt) and config.php.txt) so I used dreamwaver to find out if there was wrong on the code.

    and yet there is, so I renamed it.

    and now it works properly.

    Thank you..

    1. Pats,
      Thanks for the comment – you should notice in the notes that you can do this in Windows Explorer and checking ‘Show file extensions’.
      Alex

  3. I am also having trouble getting the phpinfo.php to show up. I’m wondering if the instructions were missing a step to, perhaps, rename testphp.php to phpinfo.php?

  4. Hi,

    Thank you for the step by step instruction. I could get the testphp.php running, but not the phpinfo.php. Most important, I could not finish the Moodle installation in the end. Wonder if anybody found the solution by now. Thanks.

  5. Alex,

    This is a great writeup and I followed it step by step for a server 2008 x86 system with only one minor issue. On the following step”

    pg 14.
    Configuring Moodle
    1. Navigate to http://127.0.0.1/ and you will be brought to the Moodle Installation page

    This is actually incorrect. Since you had us move the moodle files into c:inetpubwwwrootmoodle the address should actually be http://127.0.0.1/moodle. Doing it the way you mention just takes you to the default IIS page.

    Jeff

  6. Dear Alex,

    There were some known problems with using Moodle 2 and SharePoint 2010. The file extensions were being dropped and SharePoint will block these.

    Has this problem been resolved?

    We were planning to use Moodle 2.2 and SharePoint 2010, but based on the problems have opted to install Moodle 2.2 with Alfresco. Is this advisable or should we proceed with Moodle 2.2 and SharePoint? If SharePoint, do you have installation instructions for Moodle 2.2 and SharePoint 2010>

    Kind regards,
    Trevor

  7. Hello

    Followed your instructions exactly but as soon as I got to the first test stage: http://127.0.0.1/testphp.php I eas presented with HTTP 404 Not Found.

    I changed the file type from .txt to .php.

    Can anyone help or suggest what may be wrong? Quite new to this.

    Regards,

    Luke

  8. Any ideas on the best methodology to upgrade? I installed the web installer platform version a year or so ago but I need to upgrade to at least version 2.4 of Moodle. Should I use the standard version i.e. backup the moodle and moodledata directories, rename the moodle directory and unzip the new version or should I download the newest web platform installer (2.5) and rerun it?

    Thanks for your attention to this matter
    GP

  9. That manual described in the first post is exactly what I’m looking for.

    Seems the link is broken 🙁

    Where can I get this manual?

    thx

  10. Hello

    Do you still have the guide for installing moodle 2 on Windows server 2008 r2? I’ve been tasked this job but it doesn’t seem straightforward. Unfortunately your link no longer works, but it is rather an old blog entry.

    If you still have it, please can you email it to me.

    Many thanks

    Helen

  11. Hi

    If you still have the above guide to install moodle on a windows server, please can you email it to me as you link no longer works.

    Many thanks

    Helen

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.