PHPKonf Istanbul PHP Conference 2019 - Call for Papers

Instalación del Controlador de MongoDB para PHP en Windows

Hay disponibles binarios precompilados para cada versión en » PECL para una variedad de combinaciones de versiones, seguridad con hilos, y bibliotecas VC. Extraiga el archivo y coloque php_mongo.dll en el directorio de extensiones de PHP ("ext" predeterminadamente).

Añada la siguiente línea al fichero php.ini:

extension=php_mongo.dll

add a note add a note

User Contributed Notes 2 notes

up
2
Xylon Reyes
2 years ago
With the newer version of MongoDB, this should be...

extension=php_mongodb.dll

(the filename of the latest stable release at PECL)

Official MongoDB library are available at GitHub as well as its documentation.

Precompiled binaries are also available at GitHub for the legacy and the newer version.
up
-6
artin dot zareie at yahoo dot com
3 months ago
I've installed this extension but now i have this error :
PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb' (tried: D:\xampp\php\ext\mongodb (The specified module could not be found.
), D:\xampp\php\ext\php_mongodb.dll (The specified module could not be found.
)) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'mongodb' (tried: D:\xampp\php\ext\mongodb (The specified module could not be found.
), D:\xampp\php\ext\php_mongodb.dll (The specified module could not be found.
)) in Unknown on line 0

Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in D:\xampp\htdocs\Libraries\Database.php on line 19
PHP Parse error:  syntax error, unexpected ')', expecting variable (T_VARIABLE) in D:\xampp\htdocs\Libraries\Database.php on line 19

And i know that extension exist in the "D:\xampp\php\ext" ;
To Top