I\'m trying to install MongoDB PHP Driver for XAMPP on OSX, and my terminal says the following:
configuration option \"php_ini\" is not set to php.ini location
pear config-set php_ini /etc/php5/apache2/php.ini
If you are using XAMPP included pecl version, you should use following command on your cli:
/Applications/XAMPP/bin/pecl config-set php_ini /Applications/XAMPP/etc/php.ini