From: brew@theMode.com
To: Aaron <aaron@vafishfreek.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Problems compiling for pgsql support
Date: Mon, 22 Mar 2004 10:45:16 -0500 (EST)
Message-ID: <Pine.BSF.4.58.0403221038060.45841@themode.com> (raw)
In-Reply-To: <20040319024251.3E662444291@Server.vafishfreek.com>
References: <20040319024251.3E662444291@Server.vafishfreek.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: brew@theMode.com, aaron@vafishfreek.com
Subject: Re: Problems compiling for pgsql support
In-Reply-To: <Pine.BSF.4.58.0403221038060.45841@themode.com>
References: <20040319024251.3E662444291@Server.vafishfreek.com> <Pine.BSF.4.58.0403221038060.45841@themode.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox