Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install php7.0-pgsql - Unable to locate package php-pgsql

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?

like image 636
TheRealPir Avatar asked Oct 15 '25 14:10

TheRealPir


1 Answers

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
like image 56
TheRealPir Avatar answered Oct 18 '25 10:10

TheRealPir



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!