[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Installing php for use with PgSQL



"Ramon LOPEZ" <r.lopez@xxxxxxxxxxxxxxxxxxx> wrote:
<snip>
> ./configure --with-mysql --with-apxs
</snip>
> (from http://www.sakuralover.com/raq3/upgrade_raq3.htm)
>
> at the line "./configure --with-mysql --with-apxs" does i need to replace
> "--with-mysql" by something like "--with-pgsql" to use it with PgSQL
> or it will works normaly with or without the "--with-mysql"...
>
> If i let the argument "--with-mysql" could i install Mysql later ? (and
use
> both MySQL and PostgreSQL ?)

You can install PHP with MySQL support using the built-in library without
having MySQL installed first.  It's a better idea (though not necessary) to
install MySQL source and do --with-mysql=/path_to/mysql.  To install PHP
with PostgreSQL support you will need to do --with-pgsql.  --with-mysql
and --with-pgsql will not interfere with each other since the 2 programs are
totally independent and run on different ports so you can definitely compile
PHP with support for both.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/