[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php3+postgresql



	Здравствуйте,

	Вероятно, надо было php собрать с поддержкой постгре.

  --with-pgsql[=DIR]    Include PostgreSQL support. DIR is the PostgreSQL base
						install directory, defaults to /
						usr/local/pgsql.
						Set DIR to shared to build as a dl, or shared,DIR
						to build as a dl and still specify DIR.

On Mon, Sep 10, 2001 at 01:15:23PM +0700, Юркин Евгений wrote:
> Привет всем
> стоит apache 1.3.9-14
> php3 3.0.18
> postgresql 6.5.2-26
> в httpd.conf раскоментарино
> LoadModule pgsql_auth_module /usr/lib/apache/1.3/mod_auth_pgsql.so
> LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
> сделал
> creatdb test
> create table users (username varchar(20) UNIQUE, password varchar(20));
> grant insert on users to www;
> grant select on users to www;
> у меня возник вот такой вопрос
> почему вот такое:
> $conn = pg_connect("dbname=test");
>  Fatal error: Call to unsupported or undefined function pg_connect() in
> /home/yurkin/public_html/register.php3 on line 3
> подскажите где грабли
> Евгений
>
>
>
> --
> To UNSUBSCRIBE, email to debian-russian-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

--
Elena Egorova



Reply to: