APCのインストールではまった
pecl install apc
で
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 1831
って出ちゃうときは
/usr/share/pear/pearcmd.php の一行目にでも、以下の行を追加する。
@ini_set(’memory_limit’, ‘16M’);
これでうまくいく。
参考: http://blog.oowarai.com/?p=292
httpd-devel, php-devel, gcc, autoconf, automake, make, libtoolあたりが入ってるかどうかも要確認。