configure -with-pdo-pgsql=/path/to/your/PostgreSQL/installation sudo pecl.)Īfter that, since the PECL installer can't install the extension directly, you'll need to build and install it yourself: $ cd PDO_PGSQL-1.0.2 (Note: you may have to run pecl as the superuser, i.e. Once you do that, use the PECL installer to download the PDO_PGSQL package: $ pecl download pdo_pgsql
The first thing you'll need to do is install PEAR, if you haven't done so already, since it doesn't come installed on Leopard by default. Now I have it successfully installed, and so, even though this question is quite old, I hope that what I've found can help others (like myself) who will undoubtedly run into similar problems. In my search for answers, I stumbled across this question. I had to install the PDO_PGSQL driver recently on Leopard, and I ran across a multitude of problems.