Created
June 30, 2020 04:35
-
-
Save ItsMurumba/607c23a722d7595a5588b919dc93ae7f to your computer and use it in GitHub Desktop.
Install php psql extension in docker. Add the above line in your Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RUN apt-get install -y libpq-dev \ | |
| && docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ | |
| && docker-php-ext-install pdo pdo_pgsql pgsql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment