Re: Undefined function pg_connect()
Gustavo Amarilla Santacruz <[email protected]> Thu, 28 Jan 2010 10:35:49 -0300
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <[email protected]> |
Thank you, Chris. I use the yum command and i got the following result: yum install php-pgsql Loaded plugins: presto, refresh-packagekit Setting up Install Process Package php-pgsql-5.3.1-1.fc12.i686 already installed and latest version Nothing to do What i can do? Thank you, in advance. On Wed, Jan 27, 2010 at 9:36 PM, Chris <[email protected]> wrote: > Gustavo Amarilla Santacruz wrote: > >> Hello, all. >> >> I had installed php + postgresql on Fedora12. When the php script call to >> "pg_connect()", the following message is displayed: >> >> Fatal error: Call to undefined function pg_connect() in /var/www/html/ >> ..... Call Stack: 0.0325 487160 1. {main}() .... >> >> >> What i can do? >> > > You need the php-pgsql package if you installed via rpm. > > Once you have that installed, restart apache and see how you go. > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > > --------------------------- Gustavo Amarilla