I want to install the PHP driver on MAMP 1.9.6 (OS X 10.5.8) and PHP 5.3
I did everything I said at http://www.mongodb.org/display/DOCS/PHP+Language+Center But it still wonβt work.
If I try to connect, it throws the error "Fatal Error: Class" Mongo 'not found "But the Mongo class was found in PHPStorm and autocomplete works. I added the extension in php.ini
To install Mongo in the terminal, I wrote
sudo /Applications/MAMP/bin/php5.3/bin/pecl install mongo
And everything was installed correctly.
What am I doing wrong?
source share