5、PHP版本必须低于5.5,找不到5.5的,看这里:phpstudy无法直接安装php版本http://www.yiwan8.com/forum.php?mod=viewthread&tid=885
6、报这个错:Fatal error: Call to undefined function mysql_connect() in C:\phpstudy_pro\WWW\tools\DG\func.php on line 2
在你php版本的 php.ini 文件中,把下面这个前面的 ; 删了
extension=php_mysql.dll
7、安装好以后,如果localhost/index.php一直转圈圈,看phpstudy是不是提示缺失c:/php/php_mysql.dll文件,在你的php版本ext文件夹下找到对应文件,按提示建一个就行了。
8、提示:Warning: date() [function.date]: 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 C:\phpstudy_pro\WWW\tools\DG\func.php on line 7
表示 PHP 的时区(Timezone)设置未正确配置