Yii Framework Forum: PHP 5.3 and Yii - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

PHP 5.3 and Yii Rate Topic: ***** 3 Votes

#21 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,016
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 16 August 2010 - 02:14 AM

@androidmacc:
Why don't you read the message and set the date.timezone (e.g. in php.ini)? Yii could add a timezon configuration, sure. But IMO this is part of the server config. Yii should not duplicate any possible PHP configuration. So it's your responsibility to keep the PHP configuration up-to-date whenever you upgrade to a new main version.
0

#22 User is offline   androidmacc 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 16-June 10

Posted 16 August 2010 - 11:45 PM

View Postandroidmacc, on 15 August 2010 - 06:39 PM, said:

Did anyone resolve this issue using 5.3 and yii.. I am hopeing someone has but this bug to rest...


Error 500
date(): 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



I resolved my own issue.. You have to set the timezone setting in php.ini file inorder to get yii to work properly..
PHP 5.3 requires that you set your timezone location
0

#23 User is offline   maxx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 09-September 09

Posted 04 September 2010 - 09:56 AM

Yii 1.1.3 and PHP 5.3 don't work with SQLite3.

Start demo ("Phonebook" or "Yii blog") and see result:

Quote

CDbException

Description

CDbCommand filed to execute the SQL statement: SQLSTATE[HY000]: General error: 14 unable to open database file

Source File

/path_to_Yii/db/CDbCommand.php(228)


In attachment all my sources

Attached File  test.zip (24.29K)
Number of downloads: 10
0

#24 User is offline   showwayer 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 21-March 11

Posted 09 June 2011 - 12:07 PM

What is the latest status on PHP 5.3 and Yii?
0

#25 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,739
  • Joined: 17-January 09
  • Location:Russia

Posted 09 June 2011 - 12:54 PM

Full support at application level and some usage at framework level (with 5.2 fallbacks). So basically it means:

- Anonymous functions as event handlers.
- Anonymous functions as gridview callbacks and all other callbacks.
- Ability to use namespaces for application classes. Autoloader will load these.
- No 5.3 deprecation notices.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users