| > |
PHPFAQ - How do I install the PostGRESQL client librarys so PHP can talk to remote PGSQL servers? |
[Bookmark it] |
|
|
| PHPFAQ - How do I install the PostGRESQL client librarys so PHP can talk to remote PGSQL servers? |
|
Question : How do I install the PostGRESQL client librarys so PHP can talk to remote PGSQL servers?Answer :wget ftp://ftp.us.postgresql.org/source/v7.2.1/postgresql-7.2.1.tar.gz
tar -pxzf postgresql-7.2.1.tar.gz
cd postgresql-7.2.1
./configure --with-openssl
gmake
gmake -C src/bin install
gmake -C src/interfaces install
gmake -C doc install
cp ./src/include/postgres_ext.h /usr/local/pgsql/include/postgres_ext.h
mkdir /usr/local/pgsql/include/libpq
cp ./src/include/libpq/libpq-fs.h /usr/local/pgsql/include/libpq/libpq-fs.h
|
|
|
|
|
|
|