Re: Getting PostgreSQL to work with PHP
On (15/06/06 09:56), Xavier Elizalde wrote:
> I have the default Sarge installations of PHP4 and PostgreSQL. But I
> can't get PHP to work with PostgreSQL. The php command phpinfo()
> shows that it was compiled with the following parameters...
[snip ./configure flags]
> It says "--without-pgsql" in there. I'm sure it should say "--with-
> pgsql" instead for it to be working. Is there a way I can change this
> using apt-get and compiling from source? I know it can be done
> manually in a /usr/local directory, but currently PHP is in my /usr/
> lib64 directory. I'm kind of hesitant to compile anything outside of /
> usr/local unless it is done automatically through apt-get for the
> sake of keeping things organised. Any suggestions?
>
Maybe php4-pgsql is what you are after.
James
--
James Westby
jw+debian@jameswestby.net
http://jameswestby.net/
Reply to: