Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm having some issues while try to load mongo.so extension at php.ini. Below is what I tried:

  • Compile the mongo extension by following the documentation at php.net for MongoDB site. This resumed compile output is this:

Installing shared extensions: /usr/lib/php/modules/ Libraries have been installed in: /home/mongo-php-driver-master/modules

Then I try in /etc/php.iniwith this values:

extension=/usr/lib/php/modules/mongo.so => Didn't work

extension=/home/mongo-php-driver-master/modules/mongo.so => Didn't work

  • Since new PECL library for Mongo in CentOS has some problems with i386 systems then I decide to go through this docs in Mongo site. => Didn't work

I said "didn't work" because phpinfo() doesn't show nothing related to MongoDB also because composer update command show several errors related to MongoDB.

Any advice on how to fix this?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.