To install on windows uncommenting the dll in php.ini is not enough you also need to include several other libraries in your system path (not user path). Found these details here: http://stackoverflow.com/a/6086991/819883
Cette extension est disponible pour PHP 5.2.0 dans PECL ou nativement pour PHP 5.3. Il y a donc 2 méthodes pour installer cette extension.
Des informations sur l'installation de ces extensions PECL peuvent être trouvées dans le chapitre du manuel intitulé Installation des extensions PECL. D'autres informations comme les notes sur les nouvelles versions, les téléchargements, les sources des fichiers, les informations concernant les mainteneurs ainsi qu'un CHANGELOG, peuvent être trouvées ici : » https://pecl.php.net/package/intl.
Aussi, --enable-intl
activera l'extension de manière embarquée
à la compilation.
Si votre bibliothèque ICU est installée dans un dossier non-standard,
vous aurez peut-être à spécifier sa localisation via la variable
d'environnement LD_LIBRARY_PATH
, afin que le
compilateur dynamique puisse la trouver :
Autrement, si PHP et ICU sont installés dans leurs dossiers par défaut, alors aucune option particulière ne sont nécessaire pour `configure'.
To install on windows uncommenting the dll in php.ini is not enough you also need to include several other libraries in your system path (not user path). Found these details here: http://stackoverflow.com/a/6086991/819883
On windows servers, open your php.ini (which should be in Program Files/PHP), and simply uncomment the extension.
extension=php_intl.dll
Restart IIS Webserver - done.
For amazon nginx server (CentOs), try the following:
sudo yum install libicu-devel
sudo yum install php-intl
On Windows, with Apache server, it might not be enough to uncomment the extension in the php.ini file. You also need to copy icu****.dll files (about five of them) from PHP folder to Apache /bin folder.