I'm trying to install intl for php. When I'm running sudo pecl install intl
it gives me an error No releases available for package "pecl.php.net/intl"
. I have tried to clear cache and also I tried to upgrade pear
and pecl
. Nothing. Here my pear and php versions:
PEAR Version: 1.9.4
PHP Version: 5.6.3
Zend Engine Version: 2.6.0
Running on: Darwin iMac-bvc.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
Any ideas? Thanks in advance!
[pecl.php.net]
the package which you need (in my case it wasintl-3.0.0.tgz
) and then install it by pear like that:sudo pear install intl-3.0.0.tgz
After you have to addextension="intl.so"
insidephp.ini
and then restart apache. If you want to check whetherintl
has installed or not you can use this command:php -m | grep intl
If result isintl
then you did it! =) – Wail