pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew McMillan <andrew@morphoss.com>
To: my extraidentity <myextraidentity@hotmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: phpinfo() doesn't show postgres as a configured module
Date: Sat, 11 Apr 2009 12:37:00 +1200
Message-ID: <1239410220.21038.1446.camel@happy.mcmillan.net.nz> (raw)
In-Reply-To: <COL117-W42F89E1634351103FB8906B7810@phx.gbl>
References: <COL117-W42F89E1634351103FB8906B7810@phx.gbl>

On Fri, 2009-04-10 at 19:27 -0500, my extraidentity wrote:
>         When I run the PHP function phpinfo() on my server that has
>         both Apache and PHP on it, it doesn't show postgres as a
>         configured module.  I am running Apache version 2.0.54 and PHP
>         version 5.2.8 (however the phpinfo() function displays that it
>         is version 5.0.4 ; what is up with that???)
>         
>         What command do I need to run to get the postgres module to
>         work with PHP?  I have tried to configure the server this way
>         and it didn't seem to fix it:
>         
>         ./configure --with-pgsql=/usr/local/pgsql/
>         --with-apxs2=/usr/local/apache2/bin/apxs
>         make
>         
>         Any ideas what I am doing wrong?

You need to enable it in your php.ini file as an extension, like:

extension=pgsql.so

Cheers,
					Andrew.

------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com                            +64(272)DEBIAN
                    Be cheerful while you are alive.
                    -- Phathotep, 24th Century B.C.

------------------------------------------------------------------------





view thread (5+ messages)  latest in thread

Message-ID: <1239410220.21038.1446.camel@happy.mcmillan.net.nz>
Permalink:  ../1239410220.21038.1446.camel@happy.mcmillan.net.nz/
Also on:    postgresql.org/message-id/1239410220.21038.1446.camel@happy.mcmillan.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: andrew@morphoss.com, myextraidentity@hotmail.com
  Subject: Re: phpinfo() doesn't show postgres as a configured module
  In-Reply-To: <1239410220.21038.1446.camel@happy.mcmillan.net.nz>
  References: <COL117-W42F89E1634351103FB8906B7810@phx.gbl> <1239410220.21038.1446.camel@happy.mcmillan.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox