Re: Problems compiling for pgsql support

Поиск
Список
Период
Сортировка
От brew@theMode.com
Тема Re: Problems compiling for pgsql support
Дата
Msg-id Pine.BSF.4.58.0403221038060.45841@themode.com
обсуждение исходный текст
Ответ на Problems compiling for pgsql support  ("Aaron" <aaron@vafishfreek.com>)
Ответы Re: Problems compiling for pgsql support
Список 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 по дате отправления:

Предыдущее
От: "Aaron"
Дата:
Сообщение: Problems compiling for pgsql support
Следующее
От: "Rod K"
Дата:
Сообщение: Re: Problems compiling for pgsql support