简体   繁体   中英

Unable to install php5-pgsql on Ubuntu 16.04

I updated my OS from Ubuntu 14.04 to version 16.04, and php 7 was installed, but I want to use php 5.6. So I installed php 5.6 and tell Apache to use that version instead of php 7.

But I'm having problems installing php5-pgsql.

I tried with this tutorial, but I get the error

"El paquete php5-pgsql no está disponible, pero algún otro paquete hace referencia a él. Esto puede significar que el paquete falta, está obsoleto o sólo se encuentra disponible desde alguna otra fuente"

what can I do?

try this:

sudo apt-get install php5.6-pgsql

Hope it helps!

你可以试试最新版本。

sudo apt-get install 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