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


From: <thoyerj(at)ufrima(dot)imag(dot)fr>
To: pgsql-php(at)postgresql(dot)org
Subject: pg_connect
Date: 2003-05-23 15:25:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php
Hi everybody, 

Excuse me for my bad english... 

I've installed Red hat Linux 8.0, and php 4.2.2, apache 2.0.40 and postgresql 
are installed automatically. 

Apache and php runs very well (i created a file "test.php" with the 
instruction phpinfo() and the information appears very well when i load my 
page in my browser, in particular i see the configure command of php and --
with-apxs --with-pgsql=shared take part of it). 

In an other php file, i try to connect a postgres database with the command 
And it appears in my browser this error message: 
Fatal error: Call to undefined function: pg_connect() ... 

the file httpd.conf contents: 
LoadModule php4_module modules/ 

the file php.ini contents: 
pgsql.allow_persistent= On 

what should i do? 

Thanks for any help 


pgsql-php by date

Next:From: Mukta TelangDate: 2003-05-23 15:39:23
Subject: faster output from php and postgres
Previous:From: Alexander PucherDate: 2003-05-23 09:03:19
Subject: Re: [PHP] phpPgAdmin 3.0 Beta 1 Released

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