colinux に php をインストール
いろいろ足りなくてなかなかおわらない。
一番はまったのが、./configure --with-mysql が失敗する現象。これは yum install mysql-devel を実行すると解消された。エラーがでる時は *-devel もインストールすると解消することが多そう。
最終的なコンパイルオプションは
sudo ./configure --prefix=/usr/local/php/php-5.2.4 --with-apxs2=/usr/local/apache/current/bin/apxs --with-mysql --enable-mbstring --with-gd --with-mcrypt