Mongodb connection in PHP not working

后端 未结 2 1015
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-11 11:11

I am using Ubuntu 12.04 LTS and installed pecl in /opt/lampp/bin/ .

When installing second time its throwing error -

Command ru

相关标签:
2条回答
  • 2020-12-11 11:49

    Finally with the help of Neil Lunn I made it the right way.

    I added the full path and added the code at the very last line of my php.ini

    extension="/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/mongo.so"

    0 讨论(0)
  • 2020-12-11 12:01

    I got the solution for xampp in ubntu linux.

    If this command not work for you pecl install mongo

    you should type below command

    sudo /opt/lampp/bin/pecl install mongo
    
    0 讨论(0)
提交回复
热议问题