+ Post New Thread
Results 1 to 7 of 7
Virtual Learning Platforms Thread, Moodle Setup - which is best? in Technical; Hello I am trying to get my head around the best setup for a Moodle installation on a Windows 2003 ...
  1. #1
    firefox_2006's Avatar
    Join Date
    Oct 2006
    Location
    Midlands
    Posts
    200
    Thank Post
    13
    Thanked 19 Times in 13 Posts
    Rep Power
    21

    Moodle Setup - which is best?

    Hello

    I am trying to get my head around the best setup for a Moodle installation on a Windows 2003 Server. I have read the documentation on the moodle.docs website and it seems that the XAMMP/WAMP packages are not suitable for a full production environment, is this correct?

    If so does this mean I have to setup each component (PHP, MySQL, IIS etc) Manually/individually? If so does anyone have any instructions on how to do this (my knowledge of PHP/SQL etc is a little hazy at best!) or can offer some assistance I would be most grateful.

    Regards,

    Firefox_2006

  2. #2
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    471
    Thank Post
    14
    Thanked 51 Times in 49 Posts
    Rep Power
    24
    Hi mate,
    That is pretty much correct, We're just in the process of moving moodle to a production environment ourselves.

    Here is my advice:
    1) Download and Install mysql from here: http://tinyurl.com/377dh8 for security set a port other than the default and a password.
    2) Get apache for here: http://tinyurl.com/32fx7s (the msi and install)
    3) Get the php windows zip (not the msi) from here: http://www.php.net/downloads.php
    4) extract the .zip to C:\php (or your dir of choice).
    5) Link php & apache by adding the following to httpd.conf:
    Code:
    Loadfile "C:\php\php5ts.dll"
    LoadModule php5_module "C:\php\php5apache2_2.dll"
    PHPIniDir "C:\php"
    AddHandler application/x-httpd-php .php
    AddHandler application/x-httpd-php-source .phps
    AddHandler application/x-httpd-php-source .inc
    AddHandler application/x-httpd-php-source .class
    Also change
    Code:
    DirectoryIndex index.html
    to
    DirectoryIndex index.php index.htm index.html
    6) You may need to rename php.ini.dist to php.ini in C:\php

    That should give you a good start, I'd recommend the following for security:
    set-up an apache user and group and make apache run under it
    same for mysql
    Implement suggestions here: http://www.securityfocus.com/infocus/1706
    Install mod_security2

    Hope that gives you a start at least....

    Cheers
    Jona

  3. Thanks to Jona from:

    firefox_2006 (7th March 2008)

  4. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,617
    Thank Post
    747
    Thanked 1,707 Times in 1,520 Posts
    Rep Power
    437
    Why would one of those packages not be suitable for a production environment they are running the same individual components that you could install yourself are they not?

    Ben

  5. #4
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    471
    Thank Post
    14
    Thanked 51 Times in 49 Posts
    Rep Power
    24
    As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.
    Ref: http://www.debianhelp.co.uk/xampp.htm

    The default configuration is not good from a securtiy point of view and it's not secure enough for a production environment - please don't use XAMPP in such environment.
    Ref: http://www.apachefriends.org/en/xampp.html

    They tend to have lots of security holes so aren't recommended for a production environment. You can use them if you have to but It's just not really a great plan, you also gain a lot of useful knowledge installing and configuring the individual components.

    Cheers
    Jona

  6. #5
    alan-d's Avatar
    Join Date
    Aug 2005
    Location
    Sutton Coldfield
    Posts
    2,421
    Thank Post
    360
    Thanked 258 Times in 189 Posts
    Rep Power
    76
    We installed all the components ourselves on a Win2003 server. It seems to run better that way than with WAMP. We also run a php based Intranet on the same server.

    More work initially but you get a better understanding of how it all fits together making diagnosing problems easier.

    Funnily enough I'm in the middle of setting up a virtual server to test moodle 9 out

    Jona is correct

  7. #6

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,617
    Thank Post
    747
    Thanked 1,707 Times in 1,520 Posts
    Rep Power
    437
    Fair enough.

  8. #7
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,958
    Thank Post
    969
    Thanked 463 Times in 390 Posts
    Blog Entries
    12
    Rep Power
    95
    We used WAMP and have not had any problems so far



SHARE:
+ Post New Thread

Similar Threads

  1. Moodle Server setup
    By zag in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 3rd March 2008, 04:34 PM
  2. Moodle setup - help please
    By firefox_2006 in forum Virtual Learning Platforms
    Replies: 20
    Last Post: 16th November 2007, 01:18 PM
  3. VNC setup
    By danIT in forum How do you do....it?
    Replies: 4
    Last Post: 13th January 2007, 01:38 AM
  4. Exam day setup
    By ITWombat in forum How do you do....it?
    Replies: 5
    Last Post: 8th May 2006, 09:40 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •