0

我正在尝试在我的 Windows 7 机器上设置aMember Pro会员软件。我已经正确安装了 PHP,并且已经安装了 aMember Pro 试用版所需的 ionCube 加载程序。当我运行 aMember 提供的 Tester.php 脚本以检查 Web 服务器计算机是否具有 aMember 的所有要求时,我在浏览器中重复出现以下错误消息,然后是更清晰的 Failed (enable_dl disabled in php .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 
4

1 回答 1

1

在您的 php.ini 中取消注释或添加说明:

日期.时区 =

所以对于赫尔辛基来说,它将是:

date.timezone = "Europe/Helsinki"

确保在保存 php.ini 后重新启动服务器

于 2011-03-28T19:06:42.517 回答