[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP & PGSQL



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.
_______________________________________________________



Reply to: