Some incompatibilities with PHP 5.4

8 views
Skip to first unread message

Alexander Obuhovich

unread,
Sep 15, 2012, 9:48:06 AM9/15/12
to Bugs In-Portal
Here are list of incompatible changes that were made in PHP 5.4: http://lv.php.net/manual/en/migration54.incompatible.php
Here are ones, that we need to address in In-Portal:


In the date and time extension, the timezone can no longer be set using the TZ environment variable. Instead you have to specify a timezone using the date.timezone php.ini option or date_default_timezone_set() function. PHP will no longer attempt to guess the timezone, and will instead fall back to "UTC" and issue a E_WARNING. 

If user has specified his own timezone we use putenv('TZ=user_timezone'); code, that based on above will no longer work.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Oct 24, 2012, 2:25:59 AM10/24/12
to in-port...@googlegroups.com
What are the options to fix this?

DA

Alexander Obuhovich

unread,
Nov 5, 2012, 11:21:46 AM11/5/12
to Bugs In-Portal
Follow fixing instructions I've copy/pasted (in my original post) from http://www.php.net website.


--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/tuJ26tnPMxgJ.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Dmitry Andrejev

unread,
Nov 5, 2012, 11:41:26 AM11/5/12
to in-port...@googlegroups.com
Are we creating a task for this?

Would you please if we don't have it yet?


DA
Best regards,

Dmitry A.

Alexander Obuhovich

unread,
Nov 5, 2012, 11:56:52 AM11/5/12
to Bugs In-Portal
Reply all
Reply to author
Forward
0 new messages