I get this error when I try to run the following command sudo pecl install mongo
Error:
...php_mongo.c:22:10: fatal error: 'php.h'
file not found
^
1 error generated.
make: *** [php_mongo.lo] Error 1
ERROR: `make' failed
I am new to MAC, help me solve this problem and get Mongo working with PHP.
I installed MacPorts and autoconf
source
share