PHP 7.0.14 Released

Instalación

Esta extensión puede ser instalada con la versión que viene incorporada a partir de PHP 5.3.0, o como una extensión PECL disponible desde PHP 5.2.0. En otras palabras, existen dos métodos que permiten instalar la extensión intl.

Se puede encontrar información para la instalación de esta extensión PECL en el capítulo del manual titulado Instalación de extensiones PECL. Se puede encontrar información adicional, tal como nuevos lanzamientos, descargas, ficheros fuente, información de mantenimiento, y un CHANGELOG, aquí: » http://pecl.php.net/package/intl.

Alternativamente, --enable-intl habilitará la versión incorporada mientras se compila PHP.

Si su versión de ICU está instalada en un directorio no estándar, podrá especificar su ubicación en la variable de entorno LD_LIBRARY_PATH de manera que el enlazador dinámico pueda localizarlo:

$ export LD_LIBRARY_PATH=/opt/icu/lib

De otro modo, si PHP e ICU estuvieran instalados en sus ubicaciones predeterminadas, no haría falta utilizar ninguna opción de configuración adicional.

add a note add a note

User Contributed Notes 9 notes

up
7
hello at scottgruber dot me
5 months ago
For php7 on Ubuntu

sudo apt-get install php7.0-intl
up
15
jltupac at hotmail dot com
3 years ago
Ubuntu:
sudo apt-get install php5-intl
up
9
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.
extension=php_intl.dll
Restart IIS Webserver - done.
up
-2
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/intl.so' - /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/local/lib/libicuio.so.55) in Unknown on line 0

Later we tried icu source from http://site.icu-project.org/download
Compile ICU ./configure --prefix=/opt/icu && make && make install

And post which we compiled PHP via source with following configurations:
  --enable-intl
  --with-icu-dir=/opt/icu
up
-3
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: http://stackoverflow.com/a/6086991/819883
up
-3
ahmedelnaa2010 at gmail dot com
8 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.
up
-5
spectrumcat
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
up
-10
Epaphus
3 years ago
You need to install the library.

yum install libicu-devel

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