2
I’m having problems installing the extension Intl on Mac, already followed the following tutorials:
but on the 3 I brake on the following control:
sudo pecl install intl
and receive the following error message:
In file included from /private/tmp/pear/temp/intl/php_intl.c:25:
/private/tmp/pear/temp/intl/php_intl.h:23:10: fatal error: 'php.h' file not found
#include <php.h>
^
1 error generated.
make: *** [php_intl.lo] Error 1
ERROR: `make' failed
I have tried searching for the specific error but could not find an answer.
Someone’s been through the same mistake?!
followed the steps and arriving at the sudo pecl install Intl command continues the cited error, php. h not found.
– user13947
tries Brew install php55-Intl
– Otto
Hello Otto, I get the following error: Error: No available formula for php55-Intl
– user13947
I’m trying to help I’ll research a little more here
– Otto
you ran Xcode-select --install ?
– Otto
Also @Otto, only I get the following error: Xcode-select: error: invalid argument '-install'. Thanks for the effort so far
– user13947
@Marconiomafessolli: Don’t edit user responses to modify something that hasn’t worked specifically for you. You could even supplement the answer given by saying that "if it doesn’t work with X, you can try with Y", aggregating information, never replacing it (unless it’s REALLY wrong)
– Bruno Augusto