Home  >  Article  >  Operation and Maintenance  >  How to install mongodb extension in phpstudy?

How to install mongodb extension in phpstudy?

青灯夜游
青灯夜游Original
2019-06-17 18:38:296448browse

How to install mongodb extension in phpstudy?

phpstudy Steps to install mongodb extension:

1. Search mongodb extension on Baidu and find the official website

How to install mongodb extension in phpstudy?

2. Open the official website, download the latest version, click DLL and select the win version

How to install mongodb extension in phpstudy?

Note: Now it supports php5.6, I The download is for x86. You must pay attention here to see whether it is x86, not to see the system version, but to see whether the x86 version displayed by phpinfo.

How to install mongodb extension in phpstudy?

Click to download

3. After the download is complete, unzip it and copy php_mongo.dll and php_mongo.pdb to the ext of php5.6

How to install mongodb extension in phpstudy?

4. Open the php.ini file and write extension=php_mongo.dll

How to install mongodb extension in phpstudy?

5. Restart apache and refresh the page Check to see if the extension of mongodb is supported. As shown in the figure below, the extension of mongodb can be supported.

How to install mongodb extension in phpstudy?

The above is the detailed content of How to install mongodb extension in phpstudy?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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