PHP 7.1.0 Release Candidate 4 Released


This extension may be installed using the bundled version as of PHP 5.3.0, or as a PECL extension as of PHP 5.2.0. In other words, there are two methods to install the intl extension.

Informações para instalar essa extensão PECL pode ser encontrada no capítulo Instalação de Extensões PECL. Informações adicionais como novas versões, downloads, arquivos fontes, manutenções e CHANGELOG podem ser encontrados aqui: »

Alternatively, --enable-intl will enable the bundled version while compiling PHP.

If your ICU is installed to a non-standard directory then you might want to specify its location in LD_LIBRARY_PATH environment variable so that dynamic linker can find it:

$ export LD_LIBRARY_PATH=/opt/icu/lib

Otherwise, if PHP and ICU are installed to their default locations, then the additional options to `configure' are not needed.

add a note add a note

User Contributed Notes 9 notes

hello at scottgruber dot me
4 months ago
For php7 on Ubuntu

sudo apt-get install php7.0-intl
jltupac at hotmail dot com
3 years ago
sudo apt-get install php5-intl
jonwebb at tecbiz dot eu
2 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.
nirbhabbarat at gmail dot com
1 year 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:
daniel at danielphenry dot com
1 year 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:
ahmedelnaa2010 at gmail dot com
6 months 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.
3 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
3 years ago
You need to install the library.

yum install libicu-devel

Will get it working with "pecl install intl"
5 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