Re: pg_connect fuction

Поиск
Список
Период
Сортировка
От wchart@pegasus1.it.kmutt.ac.th
Тема Re: pg_connect fuction
Дата
Msg-id Pine.GSO.3.93.990924132643.1494A-100000@pegasus1
обсуждение исходный текст
Список pgsql-interfaces
I get a php-3.0.12 source code from http://www.php.net 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.

brief:- 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 -
makeinstall
 
then - restart apache, it's work!

Enjoy!



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Ken J. Wright"
Дата:
Сообщение: Re: [INTERFACES] PQnotifies & select
Следующее
От: Stavros Tsirakidis
Дата:
Сообщение: ...