MySQL version support over multiple PHP versions

PHP 5.4 and less use mysql_get_server_info()
PHP 5.5 and above use mysqli_get_server_info()
Merge pull request #2388 from grappler/patch-1

MySQL version support over multiple PHP versions