PHP 再インストール

configure するときのオプションどう思い出したらいいんだろうと思ってたけど,以下の方法で解決.

私は以下の様なインストール用スクリプトを書いて、何度もオプションを変えて
再インストールしてます。
ご参考まで

  • mkphp.sh ----------------------------------------------------

#!/bin/sh

make clean

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-pgsql=/usr/local/pgsql \
--enable-mbstring \
--enable-mbregex \
--enable-gd-native-ttf \
--enable-memory-limit \
--enable-zend-multibyte \
--with-openssl \
--with-gd \
--with-ttf \
--with-freetype-dir \
--with-jpeg-dir \
--with-xpm-dir \
--with-zlib-dir \
--with-java \
&& make && make install

こういう簡単なtipsもわからなかったりする..