phpのコンパイル
php-4.4.2
tarで展開後、以下実行。
./configure –with-apxs2=/usr/local/apache2/bin/apxs ?
–enable-mbstring ?
–enable-trans-sid ?
–enable-mbstr-enc-trans ?
–enable-zend-multibyte ?
–enable-mbregex ?
–enable-sockets ?
–with-gettext=/usr/local ?
–with-dom ?
–with-iconv ?
–with-gd ?
–with-png-dir=/usr/local/lib ?
–with-jpeg-dir=/usr/local/lib ?
–with-mysql ?
–with-pgsql ?
–with-zlib-dir=/usr/local ?
–with-mime-magic ?
–with-imap=/usr/local/src/COMPILED/imap-2004g ?
–with-imap-ssl ?
–with-ttf ?
–with-freetype-dir ?
–enable-gd-native-ttf ?
–enable-gd-jis-conv ?
–enable-memory-limit ?
–with-curl ?
–enable-exif ?
–with-openssl
–enable-mbstring ?
–enable-trans-sid ?
–enable-mbstr-enc-trans ?
–enable-zend-multibyte ?
–enable-mbregex ?
–enable-sockets ?
–with-gettext=/usr/local ?
–with-dom ?
–with-iconv ?
–with-gd ?
–with-png-dir=/usr/local/lib ?
–with-jpeg-dir=/usr/local/lib ?
–with-mysql ?
–with-pgsql ?
–with-zlib-dir=/usr/local ?
–with-mime-magic ?
–with-imap=/usr/local/src/COMPILED/imap-2004g ?
–with-imap-ssl ?
–with-ttf ?
–with-freetype-dir ?
–enable-gd-native-ttf ?
–enable-gd-jis-conv ?
–enable-memory-limit ?
–with-curl ?
–enable-exif ?
–with-openssl
make
make install
make install
/usr/local/lib/php,/usr/local/bin配下にそれぞれインストールされる。
configureの引数長過ぎ。いろいろやってたらいつの間にかこんなに長くなってた…
及び、コンパイルの時間長過ぎ…