Fix: get_loaded_extensions() doesn't shows disabled extensions

This modified not to show "APC" extension when Server->APC->EnableApc oprion is set to false.
It fixed issue #1103