| From: | Andrew McMillan <andrew(at)morphoss(dot)com> | 
|---|---|
| To: | my extraidentity <myextraidentity(at)hotmail(dot)com> | 
| Cc: | pgsql-php(at)postgresql(dot)org | 
| Subject: | Re: phpinfo() doesn't show postgres as a configured module | 
| Date: | 2009-04-11 00:37:00 | 
| Message-ID: | 1239410220.21038.1446.camel@happy.mcmillan.net.nz | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-php | 
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.
------------------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Steve Crawford | 2009-04-11 00:55:36 | Re: phpinfo() doesn't show postgres as a configured module | 
| Previous Message | my extraidentity | 2009-04-11 00:27:38 | phpinfo() doesn't show postgres as a configured module |