Re: Postgres from PHP in Leopard - Mailing list pgsql-general

From John DeSoi
Subject Re: Postgres from PHP in Leopard
Date
Msg-id 3D0645A7-4BA1-463A-A905-518050B550A2@pgedit.com
Whole thread Raw
In response to Postgres from PHP in Leopard  (Gordon <gordon.mcvey@ntlworld.com>)
List pgsql-general
On Dec 19, 2007, at 6:32 AM, Gordon wrote:

> However, the problem is that I can't get PHP to talk to Postgres.
> Running phpinfo () on the built in PHP shows that database support
> extends as MySql, Mysqli and SQLite extensions, and SQLite drivers for
> PDO.  What I really need is a Postgres extension for maintaining older
> code and a Postgres PDO driver for new code in development.


I think Entropy's package is the easiest way to get this going. It
will get you PHP 5 install that works well with Apache and PostgreSQL.

I have not tried it in Leopard, but hopefully that will work without
problems.


http://www.entropy.ch/software/macosx/php/


John DeSoi, Ph.D.




pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: referential integrity and defaults, DB design or trick
Next
From: Sam Mason
Date:
Subject: Re: referential integrity and defaults, DB design or trick