<?php
if(function_exists('mysql_connect')){
    echo "MySQL扩展已经安装";
}