macos configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path code example
Example: configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
FROM php:5.6-fpm
RUN apt-get update
# Install Postgre PDO
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