Try using:
extension=php_mongodb.dll
instead and restarting the xammp server for php
also download the correct .dll for your version of php
you can check your version of php with index.php and inside adding
<?php
phpinfo();
>