X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7C48CD1B980 for ; Sun, 22 Feb 2004 09:18:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 32908-05 for ; Sun, 22 Feb 2004 05:18:34 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 0ACB1D1B989 for ; Sun, 22 Feb 2004 05:18:33 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i1M9IR1Y096137 for ; Sun, 22 Feb 2004 09:18:27 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i1M8odUe093356 for pgsql-php@postgresql.org; Sun, 22 Feb 2004 08:50:39 GMT From: twohandsfree@hotmail.com (John) X-Newsgroups: comp.databases.postgresql.interfaces.php Subject: not seeing postgres function in php/apache (newbie) Date: 22 Feb 2004 00:50:44 -0800 Organization: http://groups.google.com Lines: 22 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-php@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/51 X-Sequence-Number: 2599 I'm setting up a system (for development) and get the following error: Fatal error: Call to undefined function: pg_connect() in /var/www/htdocs/test_pg.php on line 3 PHP 4.3.4 was configured with this: ./configure --with-pgsql --with-apxs --with-mysql --with-pear AFAIK no errors in ./configure ---> make install steps. I would like suggestions on the things to check, or procedures to help debug this. I'm not very experienced with Linux, Apache, PHP, or Postgres. I just setup this system so any of the four components above could be faulty. I went through php.ini and httpd.conf per the install guide in the php source. Apache serves up it's default start page, phpinfo() works, and I can create a db with psql. The distribution is Slackware 9.1. Thanks in advance.