PHP 5.5.7
Fix #996
Fix #971. Add lowercase checking of Config.
Fix #999.