I can use:
extension_loaded('mysql') to check if mySQL is installed on the server or not.
also phpinfo() can display a nice phpinfo page.
but how to get which mysql version is installed on server? is there any function like:
which_extension_version('mysql') //output the mysql version? just like the PHP_VERSION?