Hello. I am running into some significant challenges during the extension’s installation process.
I am following alongside the article series (https://www.mongodb.com/developer/languages/php/php-setup/) for PHP drier setup. I was able to install all prerequisite packages (PHP, Apache) through Homebrew and was able to successfully install the Mongodb Driver extension through pecl. I also added the “extension=mongodb.so” line to both php.ini files.
However, when I subsequently run the command “php -i | grep mongodb”, I receive an output of:
mongodb.debug => no value => no value
I have read through both Mongodb’s documentation and PHP’s documentation but have not yet been able to locate a solution.
I am operating on macOS Monterey (12.2.1). When I tried to uninstall the Mongodb driver with pecl to retry the process, I received a “permission denied” error and the uninstall failed. Not sure if this is related to the issue at hand.