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 ECC37D1D2A4 for ; Mon, 22 Mar 2004 15:45:14 +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 56989-03 for ; Mon, 22 Mar 2004 11:45:22 -0400 (AST) Received: from themode.com (themode.com [161.58.169.198]) by svr1.postgresql.org (Postfix) with ESMTP id 8B206D1DACE for ; Mon, 22 Mar 2004 11:45:12 -0400 (AST) Received: from localhost (bde@localhost) by themode.com (8.12.11/8.12.10) with ESMTP id i2MFjGBK055916; Mon, 22 Mar 2004 10:45:18 -0500 (EST) Date: Mon, 22 Mar 2004 10:45:16 -0500 (EST) From: brew@theMode.com X-X-Sender: mode@themode.com To: Aaron Cc: pgsql-php@postgresql.org Subject: Re: Problems compiling for pgsql support In-Reply-To: <20040319024251.3E662444291@Server.vafishfreek.com> Message-ID: References: <20040319024251.3E662444291@Server.vafishfreek.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/52 X-Sequence-Number: 2651 Aaron..... > I have php currently configured as reported by phpinfo() > > './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' > '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd' > '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' > '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--enable-magic-quotes' > '--with-mysql' '--with-pear' '--enable-sockets' '--enable-track-vars' > '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' > '--enable-versioning' '--with-zlib' So to me it looks like the php that is running does not include the postgresql php module which contains the functions to talk to the database. But maybe you are using pear as the interface between apache, php and postgresql. I guess you can't connect to the database, right? > When I try to reconfigure php with the '--with-pgsql-dir=/usr' flag php > appears to compile and configure properly yet the builddate in > phpinfo(); never changes. Maybe you have to restart Apache? Php is most usually an Apache module and unless Apache restarts the changes won't be there. What OS are you using? I use Debian and don't often compile I just grab the packages..... brew