Re: PHP & PGSQL
On Sat, 10 Jan 2004 13:31:49 -0500
Wayne Topa <brittman@capital.net> wrote:
> Raquel Rice(raquel@thericehouse.net) is reported to have said:
> > I'm running Woody. Soon after I installed Debian, I installed
> > PHP4 with MySQL support but not with PostgreSQL. Now I want to
> > include support for PostgreSQL, but I'm not sure how to
> > recompile PHP to include it ... when it was done automatically
> > for me when installed via apt-get. Thanks!
>
> Don't think you have to 'recompile' anything. I assune that you
> mean that you installed php4-mysql and now want to also (?)
> install the PostgreSQL modules.
>
> apt-cache search php |grep pgsql yields
> php3-cgi-pgsql - PostgreSQL module for PHP3 (use with php3-cgi)
> php3-pgsql - PostgreSQL module for PHP3 (use with php3)
> php4-pgsql - PostgreSQL module for php4
>
> So I would load php4-pgsql and make the proper changes in
> /etc/php4/apache/php.ini to select the required module.
>
> NOTE: I have not used postgresql and don't know if you can enable
> both mysql and postgresql in the php.ini file at the same time.
> It seems likely you can but...?
>
> :-) HTH, YMMV, HAND :-)
>
> Wayne
>
> --
> Crashing is the only thing windows does quickly.
> _______________________________________________________
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
Thank you, everyone, for your words of help. Wayne's suggestion is
the one I tried, and it worked. I installed php4-pgsql. An entry
was made in php.ini which loads the module, and postgresql is
working. I really appreciate all the advice I was given!
--
Raquel
============================================================
Trouble is a part of your life, and if you don't share it, you don't
give the person who loves you enough chance to love you enough.
--Dinah Shore
Reply to: