$test_session_file = session_save_path().'/'.time();
if(!@fopen($test_session_file, 'w+')) {
$install_errors[] = 'PHP can\'t write/read in the session path <code>'.session_save_path().'</code>. Your server setup doesn\'t have the right PHP/Apache permissions over this folder.';
$install_errors[] = 'Please repair the permissions on this folder or specify a new one on <code>php.ini</code>';
} else {
@unlink($test_session_file);
}