Skip to content

Commit 9f87555

Browse files
committed
Add PDO PostgreSQL extension for PHP 7 images.
1 parent 46eac62 commit 9f87555

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

7.1/fpm/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
1111
libmcrypt-dev \
1212
zlib1g-dev \
1313
libpng12-dev \
14+
libpq-dev \
1415
libssl-dev \
1516
libxml2-dev \
1617
libmemcached-dev \
@@ -29,6 +30,7 @@ RUN pecl install \
2930
mysqli \
3031
pcntl \
3132
pdo_mysql \
33+
pdo_pgsql \
3234
zip \
3335
sockets \
3436
soap \

7.1/zts/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
1111
libmcrypt-dev \
1212
zlib1g-dev \
1313
libpng12-dev \
14+
libpq-dev \
1415
libssl-dev \
1516
libxml2-dev \
1617
libmemcached-dev \
@@ -29,6 +30,7 @@ RUN pecl install \
2930
mysqli \
3031
pcntl \
3132
pdo_mysql \
33+
pdo_pgsql \
3234
zip \
3335
sockets \
3436
soap \

7.2-rc/fpm/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RUN apt-get update && apt-get install -y \
1010
libjpeg62-turbo-dev \
1111
zlib1g-dev \
1212
libpng-dev \
13+
libpq-dev \
1314
libssl-dev \
1415
libxml2-dev \
1516
libmemcached-dev \
@@ -27,6 +28,7 @@ RUN pecl install \
2728
mysqli \
2829
pcntl \
2930
pdo_mysql \
31+
pdo_pgsql \
3032
zip \
3133
sockets \
3234
soap \

7.2-rc/zts/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RUN apt-get update && apt-get install -y \
1010
libjpeg62-turbo-dev \
1111
zlib1g-dev \
1212
libpng-dev \
13+
libpq-dev \
1314
libssl-dev \
1415
libxml2-dev \
1516
libmemcached-dev \
@@ -27,6 +28,7 @@ RUN pecl install \
2728
mysqli \
2829
pcntl \
2930
pdo_mysql \
31+
pdo_pgsql \
3032
zip \
3133
sockets \
3234
soap \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Please refer to the repo's Wiki to see the [changelog](https://github.com/Shimmi
2121

2222
## PHP7.1 ZTS threads notice
2323
The _pthreads_ library dropped support for PHP 7.1. Due to memory leaks in PHP 7.0 and 7.1
24-
they started requiring PHP 7.2. The `shimmi/7.1-zts` image in version [v1.2.1](https://github.com/Shimmi/docker-php/tree/v1.2.1)
24+
they started requiring PHP 7.2. The `shimmi/7.1-zts` image since version [v1.2.1](https://github.com/Shimmi/docker-php/tree/v1.2.1)
2525
has locked _pthreads_ to the last commit suitable for PHP 7.1. You are "required" to
2626
upgrade to PHP 7.2. You may try the `shimmi/7.2-rc-zts`, but please note it is a release candidate
2727
and it shall not be used on production servers.

0 commit comments

Comments
 (0)