Check locale config compatibility for php 5.6.