2009/03/11 水曜日 21:19:02
[ ONE/DEPO ]新ページ[2009/03/11] | ONE/DEPOを利用する際に使ったPHPインストール時のconfigureオプション
余計なものもあるはずですが、とりあえず動いたconfigureオプションです。
おそらくPDO系は不要。
メール送信系は必須。
–with-pgsql –enable-exif は必須。–enable-exif は画像系処理です。
./configure \
--enable-mbstring \
--enable-mbstr-enc-trans \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-zlib \
--enable-pdo=shared \
--with-pdo-pgsql=shared \
--with-pgsql=/usr/local/pgsql \
--without-pdo-sqlite \
--without-sqlite \
--with-gd \
--enable-exif \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--without-mysql \
--with-imap \
--with-imap-ssl \
--with-kerberos
(2009.03.12.追記)
その後、
--with-mcrypt
も必要なことが判明。
会員登録時のトラブルに対応。
それに伴い、libmcrypt がインストールされていることも必要。
yumを利用する場合、おそらく libmcrypt-devel 。
というか、yum版phpであれば、 php-mcrypt のインストールでしょう。
(2009.03.13.追記)
本家で必要なモジュールが公開されました。
http://www.onedepo.jp/blog/archives/135
これを踏まえると、おそらく configure オプションは下記でとおるはず(未検証)。
./configure \
--enable-mbstring \
--enable-mbstr-enc-trans \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-zlib \
--with-pgsql=/usr/local/pgsql \
--without-pdo-sqlite \
--without-sqlite \
--with-gd \
--enable-exif \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--without-mysql \
--with-mcrypt \
--with-imap \
--with-imap-ssl \
--with-kerberos