php_ini not set to php.ini location

user4593086 picture user4593086 · May 13, 2015 · Viewed 15.9k times · Source

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

What does this mean and how can I fix it (if it's even problem at all)?

Answer

FDisk picture FDisk · Sep 22, 2015

pear config-set php_ini /etc/php5/apache2/php.ini