WordPressの設定ファイルで、デバッグをONにしたところ、下記のような警告が出る場合がある。
Warning: include_once() [function.include-once]: Unable to allocate memory for pool. in /var/www/…
どうやら、APCが原因のようで、WordPressのデバッグに限らず、PHPのフラグONでも警告が出る模様。
APCを外すか、.htaccessでオフにすれば警告が出なくなる。
php_flag apc.cache_by_default Off
Jpgraphを使う際に、ライブラリのパスを設定する必要があるので、php.iniを編集。
jpgraphのインストール先は、/var/www/jpgraphとした場合、include_pathを設定します。
# vi /etc/php.ini ... include_path = ".:/var/www/jpgraph" ... ...
保存後に、Apache再起動