Date: Wed, 10 Sep 2003 18:29:19 -0500 From: "Andrew L. Gould" <algould@datawok.com> To: Ricardo Javier Aranibar =?iso-8859-1?q?Le=F3n?= <ricardo_jal@hotmail.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Compile PHP for Postgresql Message-ID: <200309101829.20031.algould@datawok.com> In-Reply-To: <Law9-F117g0pepP1znX00005c2c@hotmail.com> References: <Law9-F117g0pepP1znX00005c2c@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 10 September 2003 06:15 pm, Ricardo Javier Aranibar Le=F3n wro= te: > 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=20 /usr/ports/lang/php*) a screen will appear with various compiling options. = =20 PostgreSQL will be one of those options. If you installed PHP using a package, pkg_delete it and install one of the = php=20 ports. Best of luck, Andrew Gould
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309101829.20031.algould>