繁体   English   中英

为aMember运行PHP测试器脚本的奇怪错误

[英]Strange error running PHP tester script for aMember

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

在您的php.ini中取消注释或添加以下行:

date.timezone =

因此,对于赫尔辛基来说,它将是:

date.timezone = "Europe/Helsinki"

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM