简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM