fix config paths for php54 and php56