#65 ✓resolved
Gustavo Carreno

Can 20Couch be PHP 5.3 friendly?

Reported by Gustavo Carreno | April 14th, 2010 @ 12:08 PM | in 1.06

I've noticed that you removed the date_default_timezone_set() call from app/config/core.php.

Could you re-add that and probably do a version check and run it if it's >=5.3 ?

Thanks!!

Comments and changes to this ticket

  • Matt Curry

    Matt Curry April 14th, 2010 @ 01:27 PM

    • State changed from “new” to “open”

    I reset core.php with the stock one from Cake 1.3. I'm running PHP 5.3 on both test and my personal version - not seeing an issue. I do have a default timezone set in php.ini. Have to look into what the right procedure here is. I assume the Cake team wouldn't have taken it out of core w/out a reason.

  • Matt Curry

    Matt Curry April 14th, 2010 @ 01:29 PM

    • Milestone set to 1.06

    Ok...just read the comments in core.php. I guess the correct sequence is:
    1) see if it's php5.3
    2) see if there is a value set in php.ini
    3) if not set to some default (probably UTC).

  • Matt Curry

    Matt Curry April 14th, 2010 @ 02:22 PM

    Ok...I was reading the comments for the 1.2.6 core.php. Since removed in 1.3.
    I guess my question is: If you (not Gus specifically, but anyone running 5.3) are running PHP 5.3 isn't it expected that date.timezone is set in php.ini?

  • Gustavo Carreno

    Gustavo Carreno April 14th, 2010 @ 06:46 PM

    • State changed from “open” to “resolved”

    I think you are right and I'm using a rather OLD php.ini.

    Will fix that pronto.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages