PHP date.timezone with EasyApache4 EA4
Hello!
in EA4 the PHP value: date.timezone is configured by default in UTC.
I tried to edit the php.ini of the affected domain to configure: date.timezone = Europe/Madrid
But don't take effect.
My 2 questions are:
How to configure a default value for all the server?
How to configure per domain?
Thanks!
-
Hi, You can edit either the global php.ini via WHM -> MultiPHP INI Editor, or you can also adjust this on a per-user basis. In EA4, you need to rename the php.ini that's in the users homedirectory to '.user.ini', and this will cause it to take affect. We're making this change in 58 shortly to fix a bug with PHP we've found. I hope this helps! 0
Please sign in to leave a comment.
Comments
1 comment