当我从 http 链接转到 https 时,我收到此错误,反之亦然。例如,我的测试站点http://dev.24houranswers.com/看起来不错。当您导航到登录 https://dev.24houranswers.com/login.php .. 我收到错误“open(/tmp/sess_6205f1dae5098a7b29ef63f2fa4a0a34, O_RDWR) failed: Permission denied”
..有什么建议么?
当我从 http 链接转到 https 时,我收到此错误,反之亦然。例如,我的测试站点http://dev.24houranswers.com/看起来不错。当您导航到登录 https://dev.24houranswers.com/login.php .. 我收到错误“open(/tmp/sess_6205f1dae5098a7b29ef63f2fa4a0a34, O_RDWR) failed: Permission denied”
..有什么建议么?
错误消息说明了一切:“权限被拒绝”
您无权写入该位置。任何一个:
session_save_path ( 'mypath' )