PHP: Sistem Saat Dilimi Ayarı hatası

0 Cevap command-line

Ben MAMP altında terminal PHP kullanmaya çalışıyorum ama sistemin dilimi ayarlarıyla ilgili bir hata var. Ben nasıl bu hata düzeltebilirim?

$/Applications/MAMP/bin/php5/bin/php echo.php

PHP Strict Standards: PHP Startup: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'Asia/Manila' for 'PHT/8.0/no DST' instead in Unknown on line 0

0 Cevap