Help
Kevin Kinsey, DaleCo, S.P.
kdk at daleco.biz
Tue Sep 9 09:42:28 PDT 2003
----- Original Message -----
From: "Ricardo Javier Aranibar León" <ricardo_jal at hotmail.com>
To: <freebsd-questions at 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.
More information about the freebsd-questions
mailing list