Quoting Ralf Becker rb@stylite.de:
Hi Dave,
I’m using Virtualmin’s script installer and getting this issue:
Warning: strtotime(): 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 'America/Los_Angeles’
for ‘PDT/-7.0/DST’ instead in PEAR/Validate.php on line 486
I’ve gone into the virtual host’s /etc/php.ini file and specifically
uncommented and set this value to:
date.timezone = “America/Vancouver”
That’s the right thing to do.
and still get the error.
Two possibilities causing that:
a) Virtualmin uses it’s private php.ini
b) some distros (Debian, openSUSE, …) have a php.ini for Apache and
one for cli (command line scripts)
Ralf
OK, more details:
Virtualmin was installed on Centos 5.8 and there is a
/home/domainname/etc for each name-based domain that has a php.ini
file that is linked to a contained php5/php.ini. That’s the one I
edited as above.
There is also a global /etc/php.ini which does not specify a
date.timezone - i.e., it is commented out and uninitialized.
I have run updatedb as root and “locate *.ini” and that doesn’t show
any other php.ini files than those.
Ideas??
Dave
–
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users
–
It is told that such are the aerodynamics and wing loading of the
bumblebee that, in principle, it cannot fly…if all this be
true…life among bumblebees must bear a remarkable resemblance to
life in the United States.
– John Kenneth Galbraith, in American Capitalism: The Concept of
Countervailing Power
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users