📜  docker php 7.2 添加 ext-mongodb - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:37.330000             🧑  作者: Mango

代码示例1
RUN apt-get install  -y openssl libssl-dev libcurl4-openssl-dev
RUN pecl install mongodb-1.6.0
RUN docker-php-ext-enable /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so