PHP and Postgresql on Windows
What would I need to do to make PHP, installed on my desktop, talk to Postgresql. I have several CDS with WAMP installs (Windows Apache Mysgl PHP). Would I use some special driver to allow PHP to connect to Postgresql? I am going to search on google as soon as I post, but just curious if someone has a word of wisdom. Thanks
Try PEAR DB.
http://pear.php.net/package/DB
It's a database abstraction layer, which means that you can change DB
later, with less hasle.
Have a look at how phpPgAdmin works. Download the source and have a
look.
http://phppgadmin.sourceforge.net/
On 22 Apr 2005, at 20:04, typing80wpm@aol.com wrote:
Show quoted text
What would I need to do to make PHP, installed on my desktop, talk to
Postgresql. I have several CDS with WAMP installs (Windows Apache
Mysgl PHP). Would I use some special driver to allow PHP to connect
to Postgresql? I am going to search on google as soon as I post, but
just curious if someone has a word of wisdom. Thanks
On 23.04.2005 00:03, David Roussel wrote:
Try PEAR DB.
http://pear.php.net/package/DBIt's a database abstraction layer, which means that you can change DB
later, with less hasle.
http://www.powerpostgresql.com/Downloads/database_depends_public.swf :)
I really dislike db abstraction layers and PEAR::DB being one of the
worst of all ;p
Just look at the ugly code like the LIMIT emulation for DBMS that don't
support it native. If you want to use the limited feature set provided
by PEAR::DB there is little point in using PostgreSQL at all. Just pick
a stupid storage engine like MySQL or SQLite and go on ;)