Preconfiguration of Moodle 2.4.1 and up

Please note that this Knowledge Base article only applies to Moodle version 2.4.1 and up.

When you first try to install Moodle using our App Installer tool in the WinHost Control Panel,  it will place the Moodle Files in the directory you specified.  Once our App Installer has completed placing the files on the web server, it will give you a URL that you will need to click on to go to the Moodle Installation Wizard.

There are some configurations changes that you need to make in order to install Moodle correctly on our web servers.

Please note the following information:

In the Moodle Installation Wizard, you will be asked to enter the destination of the Data Directory.  Moodle may try to place it above your root of the web site. This will not work in our hosting environment because you won't be able to place files above your root directory.

We recommend using the App_Data directory. This is because the App_Data directory is protected by our web server from people being able to view it through a web browser.

Note the following screen shot below as an example of what you will need to enter:



FTPUserName is the root directory of your hosting account. This will need to be changed to your real main FTP Username. The App_Data directory is a subdirectory in the root of the hosting account. If you're installing the web application into a subdirectory. Then you will need to type out your FTPUserName and the subdirectory you're installing Moodle in (e.g. E:\web\FTPUserName\sub-directoryName\App_Data).

We would recommend using a MS SQL Database to work with your Moodle web application.

If you choose to use a MySQL database with your Moodle web application, you will need to change the collation of the MySQL database in order for the wizard to complete the installation.

The Collation will need to be changed to:  uf8 – itf8_general_ci

To do this, connect to the MySQL database using MySQL Workbench. If you don't know how to connect to your MySQL database using MySQL Workbench, please read our Knowledge Base article "Connect to MySQL with MySQL Workbench".

Once connected to your MySQL database using MySQL Workbench, right click on the MySQL database and click on "Alter Schema..."

Next to "Collation:", click on the drop down menu and select "uf8 – itf8_general_ci".

Now click on "Apply".

Click "Apply" on the next window popup.

Click "Finish".

Now continue with your installation of Moodle.

If you use a MS SQL database, you won't need to change the Collation of the database.