RE: Compile PHP for Postgresql

2003-09-10 Thread Ph. Schulz
Please see http://www.php.net/manual/en/ref.pgsql.php, Section
'Installation'. You may also want to take a general look at the PHP
documentation.

 Phil.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ricardo Javier
Aranibar León
Sent: Thursday, September 11, 2003 1:16 AM
To: [EMAIL PROTECTED]
Subject: Compile PHP for Postgresql


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

_
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
YupiMSN Compras: www.yupimsn.com/compras

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

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


Re: Compile PHP for Postgresql

2003-09-10 Thread Andrew L. Gould
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

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