How can I set the default timezone for php? I don’t want to set it using date_default_timezone_set(). I tried following the wiki but it didn’t work. http://wiki.dreamhost.com/Running_web_scripts_in_your_Timezone
Is the wiki out of date? Last time I tried to follow something in the wiki the problem was that I was on an apache 2 server and the relevant mod wasn’t installed. Could this be the problem again?
Present error I’m getting is “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.”
As I don’t want to use date_default_timezone_set(), so is it possible to set the default timezone in one of the other manners?