I´m installed Xampp in my Mac, the last version with Php7, all works fine, but in my Php proyect I´m using this function:
numfmt_format_currency()
I need install the intl, and edit the php.ini with this line:
extension="intl.so”
The problem is, I can´t install the intl, I use this command:
sudo pecl install intl
But returns me this console error:
/private/tmp/pear/temp/intl/intl_error.h:24:10: fatal error: 'ext/standard/php_smart_str.h' file not found
#include <ext/standard/php_smart_str.h>
^
1 error generated.
make: *** [php_intl.lo] Error 1
ERROR: `make' failed
After, I try download the ntl-3.0.0.tgz from here, and Install whith this command:
sudo pear install intl-3.0.0.tgz
But return me this:
No releases available for package "pear.php.net/intl" - package pecl/intl can be installed with "pecl install intl"
install failed
I'm desperate, how can I install intl?