Re: Yet another Newb Question - error
| From: | Hannes Magnusson | Date: | Fri, 13 Aug 2004 20:08:57 +0000 |
| Subject: | Re: Yet another Newb Question - error | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193761@lists.php.net to get a copy of this message | ||
On Fri, 13 Aug 2004 13:06:58 -0700
andymoore@shaw.ca (Andy Moore) wrote:
> > Does PostGres show up in the test page we did earler? If not PHP needs
> > to be compiled as stated above
>
> No, PG doesn't show up... What do you mean, "compiled?" Do you mean
> installed? I used
http://www.php.net/manual/en/ref.pgsql.php
"In order to enable PostgreSQL support, --with-pgsql[=DIR] is required when you compile
PHP"
PHP needs to be compiled with PostgreSQL support
>
> # apt-get install postrgesql
>
> Are you saying I should say
>
> # apt-get install postgresql --with-pgsql
>
> ? Or,
>
> [snip]
> If shared object module is available,
> PostgreSQL module may be loaded using extension directive in php.ini or
> dl() function.
> [/snip]
>
> How can I tell if a shared module available? That sounds like an easier
> path.... maybe. :) I know PostgresQL is installed, maybe I can just
> point it to a directory or something? I don't know where library files
> are stored...
>
> - Andy Moore