Moodle Install Packages Error: Missing Intl Extension
If you’re new to Moodle then you can try it out on your own computer using the Install Packages for Windows. This way you can quickly set up a site and try out the various features. Alternatively you can use this as a test site making changes on this before altering your production site.
The process of setting this up is thoroughly documented but it’s mainly a case of downloading and extracting a zip file, running the Start Moodle script and walking through the Moodle installation pages. However, there’s one further step which is highlighted in the documentation but seems to catch people out.
You’re not alone!
In the Moodle forums we often see reports from people stuck in the installation process because the server checks fail with “php_extension intl must be installed and enabled” and “Intl extension is required to improve internationalization support, such as locale aware sorting and international domain names”. The Install Packages for Windows require that the 32-bit Visual C++ Redistributable for Visual Studio 2015 is installed. It’s important to note that this should be the 32-bit version (“x86”) and not the 64-bit version (“x64”) even though modern versions of Microsoft Windows are 64-bit. This is because the Install Packages for Windows are based on the popular XAMPP environment which has 32-bit builds of PHP and Apache.
If you didn’t install the 32-bit version before starting the Moodle installation and now you’re getting an error regarding the PHP Intl extension follow these steps:
- Run the Stop Moodle script.
- Download and install the 32-bit Visual C++ Redistributable for Visual Studio 2015, vc_redist.x86.exe.
- Run the Start Moodle script.
- In your browser go to http://localhost and the installation process should now proceed successfully.
If you’ve previously installed the 64-bit version there’s no need to remove this.
Need More Help?
If you are looking to run Moodle on a Microsoft Windows server, we have a wide range of experience supporting this platform and can help with setting up or migrating your site, and we can provide technical support or other technical services for Moodle on Windows.