Error installing MongoDb PHP driver with XAMPP on Max OS Lion
macos, mongodb, php, xampp
Solution
It seems, that you did not install the xampp "Developer Package", required to build additional php extension. You can download the "Developer Package" from:
http://www.apachefriends.org/en/xampp-macosx.html#849
Problem
I get this error when i try to run following command sudo pecl install mongo Error: ``` ...php_mongo.c:22:10: fatal error: 'php.h' file not found #include <php.h> ^ 1 error generated. make: *** [php_mongo.lo] Error 1 ERROR: `make' failed ``` I am new to MAC, please help me to resolve this and get Mongo Working with PHP. I have installed MacPorts and autoconf