PostgresとMySQLを両方使う

PHPをインストールする場合のconfigure

PostgreSQLとMySQLを両方使う場合

> ./configure –with-pgsql –with-mysql –with-apxs2=/usr/local/apache2/bin/apxs –enable-versioning –enable-mbstring –enable-mbstr-enc-trans

その他

・DBなしの場合

> ./configure –with-apxs2=/usr/local/apache2/bin/apxs –enable-versioning –enable-mbstring –enable-mbstr-enc-trans

・PostgreSQLを使う場合

> ./configure –with-pgsql –with-apxs2=/usr/local/apache2/bin/apxs –enable-versioning –enable-mbstring –enable-mbstr-enc-trans

・MySQLを使う場合

> ./configure –with-mysql –with-apxs2=/usr/local/apache2/bin/apxs –enable-versioning –enable-mbstring –enable-mbstr-enc-trans