Load config from json rather than text file.
Get mysql infos with mysqli because mysql_get_server_info is now deprecated.
Updated doc