Sunday, September 15, 2013

PHP Extension di Moodle 2.5

admin/environment/php extension/intl


The Internationalization extension (Intl) is a wrapper for the ICU library, a set of C/C++ and Java libraries that provide Unicode and Globalization support for software applications. It enables PHP programmers to perform UCA-conformant collation and date/time/number/currency formatting in their scripts.

MS Windows

To enable this extension add the following line to your php.ini file usually found in /php:
extension=php_intl.dll
And then set the intl.default_locale and intl.error_level directives in your php.ini file.
[intl]
intl.default_locale = en_utf8
intl.error_level = E_WARNING
The intl.error_level directive is optional.
In a WAMP installation it may be required to add the php path (e.g. C:\wamp\bin\php\php5.3.13 or C:\wamp\bin\php\php5.4.3) to the the system PATH so that the module4 could uploaded properly (see http://forum.wampserver.com/read.php?2,80704,82499 for a couple of other approaches).

0 comments:

Post a Comment