Re: [PHP-DB] Configure with Postgres/MySQL of different machine

2001-11-27 Thread Grant Johnson

The different machine has nothing to do with the config, and everything 
to do with the connect.  It is in the connect string that you specify 
which machine for PHP to connect to Postgres.

Joe Nelson wrote:

>I'm trying to configure php so that it will have support for both MySQL
>and Postgres.  Normally that would not be a problem, however, both MySQL
>and Postgres will be on a different machine.  How can I configure PHP to
>use the servers on the other machine?  Everything I've seen shows how to
>do it when it's all on one machine.
>
>This is what I ran:
>./configure \
>--enable-track-vars \
>--with-gd \
>--with-mysql \
>--with-pgsql \
>--with-apxs=/usr/sbin/apxs
>--with-config-file-path=/etc
>
>Any help or pointers would be appreciated.  Thanks.
>
>Joe
>
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Configure with Postgres/MySQL of different machine

2001-11-27 Thread Joe Nelson

I'm trying to configure php so that it will have support for both MySQL
and Postgres.  Normally that would not be a problem, however, both MySQL
and Postgres will be on a different machine.  How can I configure PHP to
use the servers on the other machine?  Everything I've seen shows how to
do it when it's all on one machine.

This is what I ran:
./configure \
--enable-track-vars \
--with-gd \
--with-mysql \
--with-pgsql \
--with-apxs=/usr/sbin/apxs
--with-config-file-path=/etc

Any help or pointers would be appreciated.  Thanks.

Joe


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]