moving companies : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 9 people (78%) answered Yes
Recently 4 of 4 people (100%) answered Yes

Entry

I have php-postgresql installed, how do I configure for mysql in redhat 6.1?
How can I setup PHP to use both MySQL and Postgres?

Jul 13th, 2000 14:18
Ferdinando Simonetti, Nathan Wallace, Humberto Vega,


To setup MySQL and Postgres together you just need to configure for both
when installing.  Obviously you need to have both databases installed
and working on your machine before setting up PHP.
Just use both the:
   --with-mysql=/path/where/you/installed/mysql
e.g. if you (like me) installed mysql with BASEDIR=/usr/local/mysql
   --with-mysql=/usr/local/mysql
and
   --with-pgsql=/usr
in case you want to use the RedHat RPM shipped version of PostgreSQL
options.
Here are detailed instructions for installing PHP with MySQL:
   http://www.e-gineer.com/instructions