http://www.cnblogs.com/not-code/archive/2013/12/25/3490972.html 如果测试phpinfo 中没有MySQL类,请把MySQL下的lib目录下的libmysql.dll拷贝一份到系统system32下即可