Home  >  Article  >  php教程  >  Php installation of mongodb extension fails under Windows

Php installation of mongodb extension fails under Windows

WBOY
WBOYOriginal
2016-10-23 00:00:082507browse

  1. View php version

  1. Download the corresponding mongodb plug-in

  1. Copy the php_mongo.dll file to ext in the php installation directory

  1. Restart apache

Apache –k restart

  1. Browser php.info( ) test

  1. Attention

After many people installed it, phpinfo( )downloaded mongodbnot showing the problem,The solution is as follows:

Add php to the system environment variable PATH and restart the computer.

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