Re: Problems compiling for pgsql support

From: brew(at)theMode(dot)com
To: Aaron <aaron(at)vafishfreek(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Problems compiling for pgsql support
Date: 2004-03-22 15:45:16
Message-ID: Pine.BSF.4.58.0403221038060.45841@themode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Aaron aka va_fish_freek 2004-03-22 16:03:55 Re: Problems compiling for pgsql support
Previous Message Rod K 2004-03-22 15:39:54 Re: Problems compiling for pgsql support