Trying to install jenssegers/laravel-mongodb. Downloaded MongoDB PHP driver (1.9.1 DLL) from https://pecl.php.net/package/mongodb. Placed it in C:/xampp/php/ext/ folder. Updated php.ini file by adding extension=php_mongodb.dll. Once I add this line in php.ini XAMPP will get crashed saying below error.

Apache XAMPP error

Tried changing the port number also, but still not working. Another thing noticed is, once php.ini is updated, none of the PHP commands run in the command prompt. It just returns nothing. (Commands like php artisan or composer update)

Commands giving NULL return

composer, mongodb are updated to latest version. PHP version is 7.3.0

0

There are 0 best solutions below