-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Labels
Description
Hello,
Have you managed to use postgreSQL ?
I'm trying to replace mysql with postgresql, but I can't get symfony / laravel to connect.
I have the following error when trying to connect to a remote (aws) postgreSQL database :
ErrorException in Connection.php line 770:
could not find driver
In docker-compose i linked postgre
links:
#- mail
#- mysql
- pgsql
Removed comments from PostgreSQL config
#######################################
PostgreSQL server
#######################################
pgsql:
build:
context: docker/postgres/
dockerfile: Postgres-9.4.Dockerfile
dockerfile: Postgres-9.5.Dockerfile
volumes_from:
- storage
ports:
- 15432:5432
env_file:
- etc/environment.yml
- etc/environment.development.yml
It seems the php7 extension for postgreSQL is missing
I tried to install it with "RUN /usr/local/bin/apt-install php7.0-pgsql" but can't find any php packages installed :/