Issue
I am trying to install php7.0-pgsql, but always get
E: Unable to locate package phpXXX-pgsql
I am trying
apt-get update
apt-get install php7.0-pgsql=7.0.12-1+deb
or
apt-get install php7.0-pgsql=7.0.12-1
or
apt-get install php7.0-pgsql
or even
apt-get install php-pgsql
always with the same result. Anyone can help me please?
Solution
echo "deb http://ftp.de.debian.org/debian stretch main" >> /etc/apt/sources.list
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y php7.0-pgsql
Answered By - TheRealPir Answer Checked By - Pedro (WPSolving Volunteer)