docker php 安装 pqsql

FROM php:7.2.2-fpm

# 国内源
RUN apt-get clean
RUN apt-get update
  
RUN apt-get install -y libpq-dev
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql
RUN docker-php-ext-install pdo
RUN docker-php-ext-install pdo_pgsql

相关文章

此处评论已关闭