Compile PHP for Postgresql
Andrew L. Gould
algould at datawok.com
Wed Sep 10 16:29:04 PDT 2003
On Wednesday 10 September 2003 06:15 pm, Ricardo Javier Aranibar León wrote:
> Hi list,
>
> I bougth FeeBSD4.8 (april 2003) from FreeBSDMall, I'm newbie with this
> operative System, I installed Apache, PostgreSQL and PHP but when I like
> connect in my script php with postgresql I have this error:
> Fatal error: call to undefined function pg_connect, I run my script with
> phpinfo(); and saw that not compile php for postgresql.
> I like To know the commands por compile postgresql for php I have the
> packets in my cd's.
>
> REgards,
> Ricardo
>
If you install PHP from the ports (/usr/ports/www/mod_php* or
/usr/ports/lang/php*) a screen will appear with various compiling options.
PostgreSQL will be one of those options.
If you installed PHP using a package, pkg_delete it and install one of the php
ports.
Best of luck,
Andrew Gould
More information about the freebsd-questions
mailing list