pecl/pq

About:

This is a modern binding to the mature libpq, the official PostgreSQL C-client library.

Highlights:

Installation:

This extension is hosted at PECL and can be installed with PEAR’s pecl command:

# pecl install pq

PHARext

Watch out for PECL replicates and pharext packages attached to releases.

Checkout

git clone github.com:m6w6/ext-pq
cd ext-pq
/path/to/phpize
./configure --with-php-config=/path/to/php-config
make
sudo make install

Dependencies:

This extension unconditionally depends on the pre-loaded presence of the following PHP extensions:

It optionally depends on the following extensions:

Namespaces, Interfaces and Classes: