步骤如下:
配置文件路径:php Study\PHPTutorial\php\php-5.4.45\php.ini
第一步:下载一个对应计算机php版本的php_mongodb.dll驱动程序,
将其放入在计算机 PHPstudy/PHPTutorial/php/php-5.6.27.nts/ext 文件夹下。
例如:选择1.1.1 进入 选择PHP5.6版本 X86 32位 点击下载
将其放入
第二步:打开php配置文件 PHPstudy/PHPTutorial/php/
php-5.6.27.nts/php.ini。
将其
第三步:重启php study 2018 5.6.27.nts
第四步:在www目录创建一个PHP文件,使用上面提到的phpinfo()函数
第五步:在Apache中运行查看,Ctrl键+f 查看受否有mongodb配置。
成功