You are *required* to use the date.timezone setting or the date_default_timezone_set() function.We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/info.php on line 1
加载的配置文件如下
安装没有问题,但是当我执行check.php时,它说: * date.timezone settingmust be set
> Set the "date.timezone" setting in php.ini* (like Europe/Paris).但是,date.timezone在php.ini中已经被正确设置。
在用postgre驱动程序编译php5.4之后,我很难启动Apache2,我的错误是:
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2
我在OSX上运行了apache和php。<?我知道我正在修改正确的文件,因为如果我更改了其他标志(short_open_tag),我会立即看到这些更改(在apache重新启动之后)。但是改变时区说; Defines the default timezone used by the date functions
; http://php.net/date.timezonedate.timezone = Amer
enter键,并遇到了以下一系列错误
Warning: date_default_timezone_get(): 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(