----- Original Message -----
From: "Ricardo Javier Aranibar León" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to