Re: Yet another Newb Question - error
| From: | Matthew Weier O'Phinney | Date: | Fri, 13 Aug 2004 20:34:54 +0000 |
| Subject: | Re: Yet another Newb Question - error | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193768@lists.php.net to get a copy of this message | ||
* Andy Moore <andymoore@shaw.ca>:
>> 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
>
># apt-get install postrgesql
>
> Are you saying I should say
>
># apt-get install postgresql --with-pgsql
>
> ? Or,
When you compiled *PHP*, you needed to pass it the --with-pgsql flag if
you wanted PostgreSQL support.
If you didn't compile PHP, but, rather, installed it via apt-get, then
you'll also need to install the appropriate php pgsql package. If you're
using php4, you'll need to run 'apt-get install php4-pgsql'; I'm not
sure if there's a php5-pgsql package, but most likely there is -- do an
apt-cache search to find it.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org