PHP 常见错误
扩展安装错误
mongodb
错误:
The SCRAM_SHA_1 authentication mechanism requires libmongoc built with ENABLE_SSL
解决方案:
sudo apt-get install -y libcurl4-openssl-dev pkg-config libssl-dev
sudo pecl install mongodb
错误:
The SCRAM_SHA_1 authentication mechanism requires libmongoc built with ENABLE_SSL
解决方案:
sudo apt-get install -y libcurl4-openssl-dev pkg-config libssl-dev
sudo pecl install mongodb