Apache: 2.2.3 PHP: 5.6.1 -> 5.1.6 Postgres: 8.0.3
I think the version is ok. You can check this file "PHP_Source/ext/pgsql/config.h" ( after configure but before make ) to look up if "HAVE_PQPREPARE" is defined or undefined. If it's not, modify it to be defined munually, then launch another make. I hope this dirty solution works. --shuping zhou