php怎样连接到mysql我写了个连接老是出错Fatal error: Call to undefined function mysql_connect() in C:
php怎样连接到mysql我写了个连接老是出错Fatal error: Call to undefined function mysql_connect() in C:
日期:2011-03-26 17:28:21 人气:1
你用的是什么WEB服务器?
如果是ubuntu linux, apache
apt-get install php5-mysql
/etc/init.d/apache restart
如果是ubuntu linux, nginx
apt-get install php5-mysql
/etc/init.d/nginx restart
如果是windows apache
打开apache的http.conf
找到 php5-my