|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1999-02-19 12:07 UTC] B dot Ogryczak at students dot mimuw dot edu dot pl
Since version 6.4.x PostgreSQL introduced new frontend/backend protocol (v 2.0), even tho I recompiled PHP3 with the new libpg it doesn't support this protocol. I get error: Unable to connect to PostgreSQL server, Unsupported frontend protocol in ... I'm running Linux, RH 5.2 with PostgreSQL 6.4.2 PHP 3.0.5. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
Hi, Can anyone tell me what would be the mistake in below mentioned program, when I execute this program simply it is throwing an error as : Call to undefined function pg_connect(),I can able to connect from psql separately but while trying to connect it from php it is throwing error. <?php $database=pg_connect("host=localhost dbname=test user=postgres"); if(!$database) { die("Could not connect -> " .pg_last_error(). pg_errormessage($database)); } ?>