Hmm,
This is from my "components" section:
‘db’=>array(
'class' => 'CDbConnection',
'connectionString' => 'mysql:host=localhost;dbname=yii_test',
'emulatePrepare' => true,
'username' => 'root',
'password' => '******',
'charset' => 'utf8',
),
‘session’ => array (
'sessionName' => 'YiiSession',
'class' => 'CDbHttpSession',
'autoCreateSessionTable' => true,
'connectionID' => 'db',
'sessionTableName' => 'YiiSession',
'useTransparentSessionID' => ($_POST['PHPSESSID']) ? true : false,
'autoStart' => 'false',
'cookieMode' => 'only',
'timeout' => 300,
),
This used to work but recently I updated to PHP 5.4 on my localhost and I can observe a problem:
The page does not load ("Connection was reset" on Firefox with "500 Internal Server Error" detected with Firebug).
So, the question is:
Does CDbHttpSession really implements SessionHandlerInterface what is necessary in case of PHP 5.4
Is CHttpSession::open() compatible with SessionHandlerInterface::open($save_path, $session_name)
Any comment on that?