Skip to content


PostgreSQL is supported by continuousphp. It uses the official PostgreSQL Docker images.


PostgreSQL containers are available for each activity in your build. To enable one of them, simply add the environment variable CPHP_SERVICE_POSTGRESQL with the desired PostgreSQL version as value to your pipeline configuration. Available versions are :

  • 10.0.0
  • 9.6.5
  • 9.5.9

E.g. if you need PostgreSQL 9.6.5 in your Behat tests, go to the Testing Settings (step 2 of the Pipeline) and add the environment variable CPHP_SERVICE_POSTGRESQL = 9.6.5 to the Behat configuration.

PHP Extensions

Our containers implement the following PHP extensions for PostgreSQL :

  • pdo_pgsql
  • pgsql

Connecting to PostgreSQL