doubaoxue5788 2011-01-27 14:58
浏览 765
已采纳

调用未定义的函数mysql_connect()

getting error

Call to undefined function mysql_connect()

tring to run php website on IIS 7.5.

  • 写回答

5条回答 默认 最新

  • duanshang7007 2011-01-27 15:02
    关注
    1. Locate the correct php.ini file (check phpinfo() if in doubt)
    2. Locate the line saying

      extension=php_mysql_libmysql.dll
      

      and make sure it is uncommented (no ; in front)

    3. Save
    4. Restart web server
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?