PHP启动:无法加载动态库'mongodb.so'

时间:2017-12-08 15:52:32

标签: php mongodb

我在centos 7.2上安装了php 3.4和mongodb 7.4, 我运行php命令时出错,如下所示:

[root@vagrant-dev ~]# php artisan migrate
PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/lib64/php/modules/mongodb.so (/usr/lib64/php/modules/mongodb.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/mongodb.so.so (/usr/lib64/php/modules/mongodb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Could not open input file: artisan

我该怎么办?

0 个答案:

没有答案