PHP 5.3.0のビルド&インストール

ソースの入手

$ cd ~/src
# wget http://jp2.php.net/distributions/php-5.3.0.tar.gz
# tar zxvf php-5.3.0.tar.gz
# cd php-5.3.0

configure optionの整理

config.yyyymmddファイルを作成しそこでオプションを指定

(config.yyyymmddファイルの中身)
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-libxml-dir=
--with-openssl