En la documentacion oficial de php indica que ejecute:
pecl install mongodb
Lo ejecute y me lanzo el siguiente error:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update Could not download from "https://pecl.php.net/get/mongodb-1.6.0.tgz", cannot download "pecl/mongodb" (Connection to `pecl.php.net:443' failed: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) Error: cannot download "pecl/mongodb" Download failed install failed
A lo cual ejecute lo que indica ahi:
pecl channel-update pecl.php.net
lo que me dio:
Updating channel "pecl.php.net" PEAR_Config::writeConfigFile fopen('C:\Windows\pear.ini','w') failed (fopen(C:\Windows\pear.ini): failed to open stream: Permission denied)
Y cuando volvi a ejecutar :
pecl install mongodb
Ahora el error es:
No releases available for package "pecl.php.net/mongodb" install failed
Ayudenme por favor no se como intalar mongoDB en php (xampp) windows.