这个着实是个坑,使用phpinfo查看,明明有mysqlnd这个项目,就是找不到mysql.以前用直接运行php.exe的方法可以看到错误,可是这次就没有任何错误. 中间把php的安装路径添加到了系统Path变量,后面重启几次也没用,然后又尝试把extension_dir改成./ext,不知怎么的就好了. ; Directory in which the loadable extensions (modules) reside. ; http://php.net/extension-dir ;…
错误描述: PHP Warning: phpinfo(): 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…