PHP 8.2.0 Alpha 2 available for testing


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 : »

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 :

$ export LD_LIBRARY_PATH=/opt/icu/lib

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'.

add a note add a note

User Contributed Notes 11 notes

daniel at danielphenry dot com
7 years ago
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:
jonwebb at tecbiz dot eu
8 years ago
On windows servers, open your php.ini (which should be in Program Files/PHP), and simply uncomment the extension.
Restart IIS Webserver - done.
jltupac at hotmail dot com
9 years ago
sudo apt-get install php5-intl
hello at scottgruber dot me
6 years ago
For php7 on Ubuntu

sudo apt-get install php7.0-intl
lee dot wp14 at gmail dot com
1 year ago
For ubuntu: apt install php-intl
ahmedelnaa2010 at gmail dot com
6 years ago
- open your php.ini file    c:/xampp/php/php.ini or search how to find it, it's up to your server.
- find for ;extension=php_intl.dll
- remove the comment ;
- restart the apache
- then it's working :)

i used the same when i have problem in any extensions, open php.ini then search for the extension then remove the comment.
4 years ago
For windows I had to uncomment extension=intl in the php.ini
9 years ago
On Fedora 18 "pecl install intl" wasn't working after "yum -y install icu" so I had to run "yum -y install php-intl" instead
nirbhabbarat at gmail dot com
7 years ago
OS : CentOS 5.10
PHP : 5.5.12
We tried installing via *pecl install intl* , but we were getting below warning in php error logs

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/' - /usr/lib64/ version `GLIBCXX_3.4.9' not found (required by /usr/local/lib/ in Unknown on line 0

Later we tried icu source from
Compile ICU ./configure --prefix=/opt/icu && make && make install

And post which we compiled PHP via source with following configurations:
9 years ago
You need to install the library.

yum install libicu-devel

Will get it working with "pecl install intl"
11 years ago
I'm running on Mac OS X using a MacPorts install. According to this page, my vanilla version of PHP 5.3.5 from MacPorts should include the intl functions by default. As far as I can see from phpinfo(), the MacPorts version did not disable it. However, the functions aren't visible and don't work.

It seems to require an additional:

sudo port install php5-intl

After which everything bursts into life.
To Top