I am trying to enable the pdo driver for my php installation, but when I runn the command
./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
I get
"Unable to build the PDO PostgreSQL driver: libpq 7.4+ is required"
I install postgresql in that directory
/usr/local/webserver/postgres
I installed postgresql 9.0.4.1 using the bin package and using php 5.3
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…