We've been getting the following error when testing our PHP pages that make calls to our postgres database:
Fatal error: Call to undefined function: pg_pconnect() in /var/www/<testpageX>.php on line 14
According to research, it seems as though we failed to compile PHP with postgres support at install time. We used Debian packages to install PHP and don't recall whether compiling with postgres was an option.
- Should we remove PHP and start over with the regular PHP compiler?
- Is there a "Debian way" to install PHP with postgres support?
- Are we totally missing the boat here?
We've diligently searched the PHP installation pages with no forthcoming solution.
Here's our versions:
Kernel 2.4.18-bf2.4
Apache1.3.26-0woo
openssl0.9.6c-2.wo
open ssh3.4p1-1.woo
postgres 7.2.1-2wood
php 4.1.2-6wood
php pear
TIA for any and all assistance.
--
Danny O'Brien