时间:2021-07-01 10:21:17 帮助过:10人阅读
1. unzip mongo-php-driver-master.zip
2. cd mongo-php-driver-master
3. /usr/local/php/bin/phpize
4. ./configure --with-php-config=/usr/local/php/bin/php-config
5. make all
6. make install
找到
extension_dir ="/"
加入输出的路径与extension = "mongo.so"
1. extension_dir = "/usr/local/php/lib/php/extensions/no-debug-zts-20060613/"
2. extension = "mongo.so"
复制代码
之后重启APACHE
php安装mongodb插件
标签:ext config bin 文件 cal drive conf pre driver