[funcation.phpinfo]:错误


前些日子我一直在搞Dolphin安装,但显然全部在linux下的全部软件的初次安装都很难一次到位的,这不在安装过程当中出现了种种错误。可是我把很难从国内找到解决方法的错误给写了出来,并附带解决方案,但愿遇到一样错误的午餐们能够轻松些。
Warning
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 ' America

instead in /Users/{me}/Sites/localmirror/htdocs/tests/phpinfo.php on line 3 /New_York' for 'EDT/-4.0/DST' : phpinfo()[function.phpinfo]:Itisnot safe to rely on the system's  php

咱们能够在Users/{me}/Sites/localmirror/htdocs/tests/phpinfo.php 这个页面添加如下linux

的代码:
<?php if(date_default_timezone_set('Europe/Stockholm') == 0) { print "<!-- Error uknown timezone using UTC as default -->\n";            date_default_timezone_set('UTC'); } phpinfo(); ?>
相关文章
相关标签/搜索