0

Windows7マシンでaMemberProメンバーシップソフトウェアをセットアップしようとしています。PHPを適切にインストールし、aMemberProの試用版に必要なionCubeローダーをインストールしました。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 
4

1 に答える 1

1

php.iniでコメントを外すか、次の行を追加します。

date.timezone =

したがって、ヘルシンキの場合は次のようになります。

date.timezone = "Europe/Helsinki"

php.iniを保存した後、必ずサーバーを再起動してください

于 2011-03-28T19:06:42.517 に答える