Enabling php_intl on XAMPP 1.8.1 for Windows Vista

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Enabling php_intl on XAMPP 1.8.1 for Windows Vista

Postby RytoEX » 17. December 2012 22:12

Hi! I'm trying to install Moodle 2.3.3+ on XAMPP 1.8.1 for Windows Vista 32-bit. At some point it notifies me that:
php_extension "intl" should be installed and enabled for best results

and it points me to some documentation (http://docs.moodle.org/23/en/admin/environment/php_extension/intl). That page notes that some additional configuration adjustments might be needed in the WAMP stack, pointing to a thread about WAMPServer. However, it seems that XAMPP 1.8.1 has the same problem, as suggested by the following error messages:
httpd.exe - Unable To Locate Component

This application has failed to start because icuuc46.dll was not found.
Re-installing the application may fix this problem.



PHP Startup: Unable to load dynamic library 'C:\xampp-1.8.1\php\ext\php_intl.dll'
- The specified module could not be found.


And by the following threads:

I've added "C:\xampp-1.8.1\php" to my SYSTEM PATH, and I can confirm that that makes Moodle pass its check and prevents the error messages from appearing.

I note that there were other options for getting this to work. Is there a method that is particularly recommended over the others? Is there a way and are there any plans to fix this so that this works in XAMPP out of the box? Thanks!
Posts: 1
Joined: 17. December 2012 20:57
Operating System: Windows Vista 32-bit

Re: Enabling php_intl on XAMPP 1.8.1 for Windows Vista

Postby JJ_Tagy » 18. December 2012 02:25

I didn't have to add anything to the path to get it to work. I uncommented extension=php_intl.dll and added these lines to the file.
Code: Select all
intl.default_locale = en_utf8
intl.error_level = E_WARNING
Posts: 727
Joined: 30. January 2012 13:44
Operating System: Windows 10 Pro x64

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests