Re: Problems compiling for pgsql support - Mailing list pgsql-php

From brew@theMode.com
Subject Re: Problems compiling for pgsql support
Date
Msg-id Pine.BSF.4.58.0403221038060.45841@themode.com
Whole thread Raw
In response to Problems compiling for pgsql support  ("Aaron" <aaron@vafishfreek.com>)
Responses Re: Problems compiling for pgsql support
List pgsql-php
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


pgsql-php by date:

Previous
From: "Aaron"
Date:
Subject: Problems compiling for pgsql support
Next
From: "Rod K"
Date:
Subject: Re: Problems compiling for pgsql support