Home > Backend Development > PHP Tutorial > php配置mongo扩展

php配置mongo扩展

WBOY
Release: 2016-06-23 14:28:51
Original
811 people have browsed it

php配置mongo扩展

a)      下载php_mongo.dll

官方下载地址:

http://www.php.net/manual/en/mongo.installation.php#mongo.installation.windows

下载时看准文件版本,要和你使用php的版本相同

如果版本使用错了mongo扩展就无法启用,下载后放到php扩展文件夹下

b)     修改php.ini文件

添加extension =php_mongo.dll

c)      重启apache

查看Phpinfo()中mongo扩展存在,配置完成

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template