The "SCRAM-SHA-1" authentication mechanism requires libmongoc built with --enable-ssl

the definition of love
thesaurus
ther
then
thee
they
what is the d
the c

Getting error message while connecting to database using Laravel 5.4 and Mongodb 3.6

The "SCRAM-SHA-1" authentication mechanism requires libmongoc built with --enable-ssl

Its running fine in ubuntu 16.04 with same versions, but not in AWS Linux.

Installed LAMP [ php70, apach24 ] :

Installed Mongodb [ 3.6 ] :

Installed php-mongodb driver for php7:

sudo yum -y install php7-pear php70-devel gcc  // completed
sudo pecl7 install mongodb                     // completed 
sudo yum install openssl-devel                 // completed

php-mongodb driver installed and updated to php.ini, mongodb shows in phpinfo() as well.

we find there is libmongoc ssl disabled from phpinfo, Is that issue ?

How can we enable it ?

Error, because of disabled libmongoc SSL and libmongoc Crypto from php-mongodb driver and enabled by following command.

sudo pecl7 config-set php_ini /etc/php.ini

After installing mongodb driver sudo pecl7 install mongodb, we should set the above.

now runs fine.

The, used to point forward to a following qualifying or defining clause or phrase. The Hill is a top US political website, read by the White House and more lawmakers than any other site -- vital for policy, politics and election campaigns.

On Ubuntu 18.04 LTS, PHP 7.2.7

I had to install some extra packages:

sudo apt-get install -y libcurl4-openssl-dev pkg-config libssl-dev

Then re-install mongodb:

sudo pecl uninstall mongodb
sudo pecl install mongodb

Then check that SSL is enabled:

php -i | grep mongo

/etc/php/7.2/cli/conf.d/20-mongodb.ini, mongodb libmongoc bundled version => 1.11.0 libmongoc SSL => enabled libmongoc SSL library => OpenSSL libmongoc crypto => enabled libmongoc crypto library => libcrypto

Restart php:

sudo service php7.2-fpm restart

The, used to make a generalized reference to something rather than identifying a particular instance. The / ðə, ðiː / ( listen) is a grammatical article in English, denoting persons or things already mentioned, under discussion, implied or otherwise presumed familiar to listeners or readers. It is the only definite article in English. The is the most commonly used word in the English language, accounting for seven percent of all words. It

For those who have the error on an Alpine docker. You must add in your Dockerfile :

RUN apk add curl-dev openssl-dev

instead of sudo apt-get install -y libcurl4-openssl-dev pkg-config libssl-dev

I used RUN pecl config-set php_ini /etc/php.ini too

the, (pronounced stressing “the”) used to indicate that someone or something is the best known or most important of that name or type. The Atlantic covers news, politics, culture, technology, health, and more, through its articles, podcasts, videos, and flagship magazine.

On my Debian 9 module compillation fails with following error:

configure: error: OpenSSL libraries and development headers could not be found

If you have same error try following:

apt-get remove libssl-dev
apt-get install libssl1.0-dev

Thesaurus.com, used adverbially with comparatives to indicate how one amount or degree of something varies in relation to another. Latest US news, world news, sports, business, opinion, analysis and reviews from the Guardian, the world's leading liberal voice. Skip to main content. The Guardian - Back to home.

As for me, this command does everything on Debian 9 and php 7.0

sudo apt-get install php-mongodb

Just restart Apache2 service afterwards

THE, The definition is - —used as a function word to indicate that a following noun or noun equivalent is definite or has been previously specified by context or by  The Verge was founded in 2011 in partnership with Vox Media, and covers the intersection of technology, science, art, and culture. Its mission is to offer in-depth reporting and long-form feature

The Sunday Read: Closing the Restaurant That Was My Life for 20 , Etymology 1Edit. From Middle English the, from Old English þē (“the, that”, demonstrative pronoun), a late variant of sē. Originally masculine nominative, in  6.738.472 registered users Last updated 11:40:07. 43.372.996 peers (32.997.918 seeders + 10.375.078 leechers) in 6.358.790 torrents.

A Bit of Relief: I Forgive You, New York, Thesaurus.com is the world's largest and most trusted free online thesaurus brought to you by Dictionary.com. For over 20 years, Thesaurus.com has been  News Corp is a network of leading companies in the worlds of diversified media, news, education, and information services. 'We must treat people like grown-ups' says Sturgeon as she shares exit

The Economist, the meaning: 1. used before nouns to refer to particular things or people that have already been talked about or…. Learn more. With The Work Number database, Equifax is the leader in employment and income verifications, providing comprehensive services for commercial verifiers, employers, and employees.

Comments
  • Check the PECL install again, you will likely see an error/warning along the lines of Cannot find OpenSSL's libraries If so ( or at least just to be sure ) then you should do something like yum install openssl-devel and run the install again. Look for errors/warnings in that step at any rate.
  • Instead of commenting every few minutes, how about you take the time to investigate the couple of things you were just told. Add your findings and any more valid output / errors to your question as you have them. If you read and follow what I said, then you will likely resolve it. If it's still unresolved, then adding the things you have done "step by step" to your question serves as a base for people to look and reproduce the issue, or point out what is missing.
  • @NeilLunn - got solution for this issue and posted the solution as answer.