diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 10aef8648335a1e849cb0bf6755b0112b18c57cd..d6c0a7732873ad265ddffd5ace62dc06e6c38893 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
 services:
-  - postgres:10.1
+  - postgres:11
 
 variables:
   POSTGRES_DB: "MaarchCourrier"
diff --git a/ci/docker_install_php.sh b/ci/docker_install_php.sh
index 6af5123e7f14b96490c6bee905f36a76ca5828ed..22c96274a4399a5d969fb8a7084d14f1a3b6232f 100755
--- a/ci/docker_install_php.sh
+++ b/ci/docker_install_php.sh
@@ -6,8 +6,8 @@
 set -xe
 
 apt-get install -y libpq-dev libxml2-dev libxslt1-dev libpng-dev \
-# && docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
-# && docker-php-ext-configure pdo_pgsql --with-pdo-pgsql \
+&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
+&& docker-php-ext-configure pdo_pgsql --with-pdo-pgsql=/etc/postgresql/11/main \
 && docker-php-ext-install pdo_pgsql pgsql \
 && docker-php-ext-install xsl \
 && pecl install xdebug-2.7.0RC2 \