-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I was trying to install pdo_psql
on fpm-alpine
flavour like:
docker-php-ext-install pdo pdo_pgsql
I was getting first the following error:
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
So I decide to install libpq
:
RUN echo "@edge http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN apk --no-cache add \
libpq@edge
Same error after that and then I try installing postgresql
like:
RUN echo "@edge http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN apk --no-cache add \
postgresql \
libpq@edge
And then getting different error:
configure: error: Unable to build the PDO PostgreSQL driver: a newer libpq is required
That's why I'm trying with the
edge
version oflibpq
but...
And I'm get stuck in this step not sure what could be wrong but I can't install pdo_pgsql
btw my infrastructure it's have one container per thing, so I have a container for nginx
and a container for php-fpm
and another container with postgres
so my goal it's have everything split between containers
samizdam, kachkaev, guizoxxv, weeix, momozi-coder and 20 more
Metadata
Metadata
Assignees
Labels
No labels