I'm trying to use MongoDB with Laravel but I'm getting the following error after adding the MongoDB extension:
php: relocation error: /opt/lampp/lib/php/extensions/no-debug-non-zts-20170718/mongodb.so: symbol SSL_library_init, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference
I tried installing sudo apt-get install openssl
but I still get the same error.
Hope someone can help me.
Thanks in advance!