我刚接触过Linux,遇到了一个我似乎无法解决的问题。
运行Ubuntu14.04.5LTS可信
我正在编写一个Vagrant文件,以便像我们需要的时候一样,创建一个新的新开发环境。我在phpPgAdmin上遇到了问题:每当我在浏览器上点击它时,它都会给我以下消息:
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.我尝试过几种不同的配置,将-with放在我命令中的位置(参见下面),但它们都会导致服务器不响应。
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y git nginx-full php7.0 php7.0-fpm php-pgsql postgresql-client-9.5发布于 2017-12-13 19:11:19
php-pgsql的模块从PHP5的“php-pgsql”改为PHP7的“php7.0-pgsql”。所以我的命令应该是
sudo add-apt存储库ppa:ondrej/php sudo apt-获取更新sudo apt-获取安装-y git nginx-完整php7.0 php7.0-fpm php7.0-pgsql postgresql-client-9.5
https://askubuntu.com/questions/985989
复制相似问题