そういえばPHPの設定をしていなかったなと思ってはいたけど、
実害がなかったので放置プレイしてました(笑)
ところがWordPressのページを更新しようと思ったら白紙ページが表示されました。
Apacheのログをみると下記が出力されました。
Allowed memory size of 33554432 bytes exhausted (tried to allocate 17 bytes) Allowed memory size of 33554432 bytes exhausted (tried to allocate 17 bytes) Allowed memory size of 33554432 bytes exhausted (tried to allocate 17 bytes) Allowed memory size of 33554432 bytes exhausted (tried to allocate 17 bytes) Allowed memory size of 33554432 bytes exhausted (tried to allocate 64 bytes)
PHPのメモリ割り当てが足りなくなった場合に出るエラーですね。
PHP.INIのmemory_limitの設定値を確認すると・・・デフォルトの32MBのままでした(汁
どれくらい割り当てるかは算出するのが面倒だったので
倍の64MBを割り当ててこっそりApacheを再起動。
次にエラーが出る前にきっちりとした値を決めて割り当てしたいともいます。
う~ん。他に抜けてる設定あったかな・・・。

