我试图为我的php安装启用pdo驱动程序,但是当我运行命令时
./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
我使用bin包和PHP5.3安装了postgresql 9.0.4.1