RE: [PHP-DB] pg_connect gets "fatal error"

From: Date: Sun, 14 Aug 2005 18:25:34 +0000
Subject: RE: [PHP-DB] pg_connect gets "fatal error"
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-40070@lists.php.net to get a copy of this message
http://ca.php.net/manual/en/ref.pgsql.php is the manual place to start looking... i just enabled pg support with my windows machine..pgsql does show up as a separate entity in the php info listings... Because you mentioned Postgre I am assuming your dev machine is a linux box. http://ca.php.net/manual/en/install.unix.php are the install notes for php, these will guide you in re compiling PHP to include postgre bastien
From: Jon Crump <jjcrump@u.washington.edu> To: Bastien Koert <bastien_k@hotmail.com> CC: php-db@lists.php.net Subject: RE: [PHP-DB] pg_connect gets "fatal error" Date: Sun, 14 Aug 2005 11:16:39 -0700 (PDT) On Sat, 13 Aug 2005, Bastien Koert wrote:
is php compiled with postgre support? probably not from the sounds of it bastien
I'm guessing you're right, but it's not clear how I could tell. The output from <?php phpinfo() ?> doesn't really help much unless I know what to look for. On the one hand it says that DBX support is enabled and PostgreSQL is one of the supported databases, on the other, MySQL support is described explicitly, as is ODBC, but there is no similar section for the other "supported" DBs. If php wasn't compiled with postgres support, do I have to recompile it? how? Apologies if these questions are naive, but I am a rank tyro in these matters. Jon


« previous php.db (#40070) next »