php5.2の./configureインストールメモ - vmwareでCentOSをインストール

./configure \
 --with-mysql=/usr/local/mysql \
 --with-apxs2=/usr/sbin/apxs \
 --enable-mbstring \
 --enable-mbregex \
 --enable-zend-multibyte \
 --with-gd \
 --with-freetype-dir \
 --with-jpeg-dir \
 --with-png-dir \
 --with-zlib-dir \
 --enable-gd-native-ttf \
 --enable-gd-jis-conv \
 --with-openssl \
 --with-curl \
 --with-pear


symfonyのための推奨設定

% cd php-5.2.12/ext/xsl
% phpize
% ./configure
% make
% make install

php.iniに
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613/"

extension=xsl.so

http://l-w-i.net/t/php/ext_001.txt

tar zxvf APC-2.0.4.tgz
cd APC-2.0.4
/usr/local/bin/phpize
./configure --enable-apc
make
make install


ln -s /usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so /usr/local/lib/php/extensions/apc.so

php.iniに
extension=apc.so

http://cubic9.com/Devel/PHP/Accelerator/APC/


mysqlのPDOがなかったので
http://d.hatena.ne.jp/gamme/20100206/1265481725
を参考にインストール