Skip site navigation (1) Skip section navigation (2)

Re: pg_connect fuction

From: wchart(at)pegasus1(dot)it(dot)kmutt(dot)ac(dot)th
To: Travis <travis77(at)lvcm(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pg_connect fuction
Date: 1999-09-24 20:53:16
Message-ID: Pine.GSO.3.93.990924132643.1494A-100000@pegasus1 (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I get a php-3.0.12 source code from and then compile
the source to be a 3rd party Apache DSO module (see it manual), using egcs
compiler distributed with RedHat6.0 CD.

What you need to install are: egcs compiler suite with bison, yacc, make,
freetype-devel and  apache-devel, postgresql-devel packages.

 - extract source by "tar -xvzf php-3.0.12.tar.gz"
 - cd php-3.0.12
 - ln -s /usr/include/pgsql /var/lib/pgsql/include
(I use /var/lib/pgsql as PGDATA directory)
 - ./configure --with-apxs=/usr/sbin/apxs --with-pgsql=/var/lib/pgsql
 - make 
 - make install
 - restart apache, it's work!


pgsql-interfaces by date

Next:From: Tom LaneDate: 1999-09-24 22:36:25
Subject: Re: [INTERFACES] NOTICE: Unrecognized variable client_encoding
Previous:From: BishopDate: 1999-09-24 16:46:42
Subject: NOTICE: Unrecognized variable client_encoding

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group