Re: Postgres from PHP in Leopard

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Gordon <gordon(dot)mcvey(at)ntlworld(dot)com>
Cc: Postgresql General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres from PHP in Leopard
Date: 2007-12-20 17:54:21
Message-ID: 3D0645A7-4BA1-463A-A905-518050B550A2@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2007-12-20 18:10:39 Re: referential integrity and defaults, DB design or trick
Previous Message Richard Huxton 2007-12-20 17:53:23 Re: referential integrity and defaults, DB design or trick