Date: Tue, 9 Sep 2003 11:41:47 -0500 From: "Kevin Kinsey, DaleCo, S.P." <kdk@daleco.biz> To: =?iso-8859-1?Q?Ricardo_Javier_Aranibar_Le=F3n?= <ricardo_jal@hotmail.com>, <freebsd-questions@freebsd.org> Subject: Re: Help Message-ID: <002301c376f1$43bf43f0$1e831b45@nitanjared> References: <F30A8nA1cZU2ZZYE6oX000019ef@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Ricardo Javier Aranibar León" <ricardo_jal@hotmail.com>
To: <freebsd-questions@freebsd.org>
Sent: Tuesday, September 09, 2003 9:48 AM
Subject: Help
> Hi,
> I'm newbie using FreeBSD, I bougth from FreeBSDMall(4 cd's)
> I installed:
> Apache-1.3.27_4
> mod_auth_pgsql_0.9.12_1
> mod_php4-4.3.1
> PostgreSQL 7.3.2
> I can't find the file php.ini I like config my repository.
Check under /usr/local/lib, or /usr/local/lib/php,
or /usr/local/share/PEAR.
> and from php I can't connect to Postgresql I have this error
> Fatal error: call to undefined function pg_connect()
> But my script phpinfo(); show me
> <?php
> echo "Hello";
> $conn = pg_connect("dbname=phpdb");
> ?>
> The result of this script is
> Hello
> Fatal error: call to undefined function pg_connect()
> Regards,
> Ricardo
Try
<?php
phpinfo();
?>
and make sure that PostGres
support was compiled.
HTH,
Kevin Kinsey,
DaleCo, S.P.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c376f1$43bf43f0$1e831b45>
