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

投稿者:

kishir

趣味: sk8, ピスト、ターンテーブル、レコード 仕事: Python, Objective-C, PHP, JavaScript

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です