我试图启用pdo驱动程序为我的PHP安装,但当我runn命令
./configure --prefix=/usr/local/webserver/PHP --with-apxs2=/usr/local/webserver/apache2/bin/apxs --enable-mbstring --enable-intl --with-icu-dir=/usr --with-pgsql=/usr/local/webserver/postgres --with-pdo-pgsql=/usr/local/webserver/postgres
我得到
"Unable to build the PDO Postgresql driver: libpq 7.4+ is required"
我在该目录中安装postgresql
/usr/local/webserver/postgres