PHP with postgresql support

Bryan Blackburn blb at macports.org
Tue Mar 15 13:15:16 PDT 2011


On Tue, Mar 15, 2011 at 07:39:27PM +0100, Niels Postma said:
> Hi Mac fans,
> 
> I'm in need of some help to get php working with postgresql support. Searching the net I could not find any (to me) helpfull information, other then I might try the MacPorts. I've installed MacPorts but I can not really find how to use this to solve my problem.
> 
> Here's my current info:
> 
> - OSX10.6
> - Using installed Apache2 & PHP5
> - I need to get to postgresql database in my php scripts

You can use 'port search php5-' to see all the various php5-based modules
available, one of which is php5-postgresql (be sure to examine its variants
to select which version of PostGreSQL you want).

Bryan


> 
> Is there anyone that can help me a little in this matter?
> 
> Thanks in advance,
> 
> Niels Postma


More information about the macports-users mailing list