win7系统,sql2008已安装,安装时候默认windows合法身份,不是混合身份模式。php5.3安装完成,简单php网页测试可以,但有数据库语言时测试会出错。现在想php连接数据库,怎么办?之前装了sql driver for php测试连接数据库时候还是不行。本人只是做网页建本地服务器,需要装apache吗,本人菜鸟,没搞过 sql,望高人解答!

解决方案 »

  1.   


    Warning: main(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\web\sqlconnection.php on line 6 Fatal error: Call to undefined function mssql_connect() in D:\web\sqlconnection.php on line 6