我正在尝试在Windows 7计算机上设置aMember Pro会员软件。我已经正确安装了PHP,并且我安装了ionCube加载程序,这是aMember Pro试用版所必需的。当我运行aMember提供的Tester.php脚本时,为了检查Web服务器机器是否满足aMember的所有要求,我在浏览器中得到以下错误消息的几个重复,然后更清晰,失败(在php中禁用enable_dl) .ini)错误消息。我对于导致“Split()”错误的所有重复的原因感到非常好奇。有什么解释吗?
Warning: split(): 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 'Europe/Helsinki' for '2.0/no DST' instead in C:\Development\PressMart\aMember\Web\tester.php on line 28 Deprecated: Function split() is deprecated in C:\Development\PressMart\aMember\Web\tester.php on line 28 Warning: eregi(): 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
答案 0 :(得分:1)
在你的php.ini取消注释或添加说明的行:
date.timezone =
所以赫尔辛基就是:
date.timezone = "Europe/Helsinki"
确保在保存php.ini
后重新启动服务器