For the other part of the question: If opcode cache caches ini files. At the time of writing, with my version PHP 5.3.5, the APC cache does not do it per automatic, but you can make sure that ini files are cached by APC by adding a function like the following and use that for parsing ini files:
function parse_ini_file_ext ($file, $sections = null) {
ob_start();
include $file;
$str = ob_get_contents();
ob_end_clean();
return parse_ini_string($str, $sections);
}
Then ini files are cached by APC.Measured with a simple microtime benchmark this is also faster than reading the ini files directly.