Must have
Installation requirements
- 64-bit PHP 8.3 or 8.4, with Sodium enabled
- A database supported by Moodle 5.2
- PHP max_input_vars set to at least 5000
Application hosting
Moodle runs online courses, assessments and learning resources. Active students, course files and scheduled processing affect server demand, with release-specific PHP and database requirements to check first.
Requirements last checked against the project's documentation.
A sensible first server for Moodle is 2 vCPU, 2 GB RAM and 20 GB of storage. The cheapest listed plan that fits is OVHcloud VPS-1 (US) at $4.54/month.
Find the software and services needed to run the application.
See requirementsPlan memory, storage and CPU for the way you will use it.
Open resource plannerCompare plans for the starting size, then review the provider and billing terms.
See plansMust have
Recommended
Moodle lists 512 MB RAM as a minimum and 1 GB or more as recommended, a dual-core 2 GHz processor, and about 5 GB of disk as a realistic minimum plus space for course content. Large production servers are likely to need 8 GB or more.
Where to start
Built on Moodle's own figures (1 GB or more recommended, dual-core, 5 GB realistic minimum disk) with room for the database on the same server and course files. Busy sites and large installations need more; Moodle points to 8 GB or more on large production servers.
Moodle installation requirements · Size it for your workload
Our shortlist
One cheapest plan per provider, based on each provider's standard list price. Check the plan page for introductory and renewal pricing before you buy.
Deploy with
The host must provide
Storage
Moodle stores course uploads and other files in its moodledata directory. Keep this directory outside the public web root, use persistent storage, and allow space for course content, temporary files and retained backups.
Step by step
Check the Moodle 5.2 release page, install 64-bit PHP 8.3 or 8.4 with Sodium, and select one of the documented database versions.
Official instructionsFor Moodle 5.1 and later, configure the web server to serve the public directory. Store moodledata outside the public web root and make it writable only by the application service.
Official instructionsConfigure the command-line cron script to run regularly; Moodle recommends every minute and warns that scheduled tasks are required for normal operation.
Official instructionsRun Moodle’s environment checks for the selected release, configure HTTPS, and test restoring the database and moodledata together before real courses depend on the site.
Official instructionsSecurity
Cost
Want the full monthly bill? Use the hosting cost calculator. Add storage, backups and other costs to your estimate.