I'm not actually running PostgreSQL so it's setup could be different
that MySQL.  But if you want to install PHP with MySQL support and the
database isn't running locally you just do '--with-mysql' in the
configure statement.  It'll give you a warning saying that its not
suggested to do this, but from what I can tell nothing goes wrong.

So for PostgreSQL you just need to do the same thing.

./configure --with-apxs=/usr/local/apache/bin/apxs --with-pgsql
--enable-track-vars

Give it a shot.

~ Matthew

-----Original Message-----
From: Brian Noecker [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, August 17, 2002 9:08 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] installing to connect to a remote database server


Newbie here.

I need to install php with postgres support.  Problem is I need to have
it connect to a non-local database.  Now, the pgconnect function seems
to allow for that, but the install wants local files.  

Can someone point me in the right direction here?

Thanks,
Brian

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to