/var/tmp in yii

Hi.

I have a problem.

I must run yii framework on jail (freebsd), and i have a problem with /var/tmp becouse my root directory is /www/ and tmp in /www/tmp

Where i can change the /var/tmp or /tmp too /www/tmp ?

Yii doesn't require usage of /tmp directory unless you are using PHP native session which stores session data as tmp files. In that case, you can configure the 'session' component like the following:



'components'=>array(


   'session'=>array(


      'savePath'=>'path/to/new/tmp',


   ),


)


Very Big TNX :slight_smile:

It's work!