UPDATE :I have been following this link and create php_error.php file this is the result 警告:session_start():打开(/opt/lampp/temp//sess_eobqtotm38tean46jjthbih1m3,O_RDWR)失败: /opt/lampp/htdocs/portofolio1/php_error.php中的权限被拒绝(13) 在第6行 Warning: session_start(): open(/opt/lampp/temp//sess_eobqtotm38tean46jjthbih1m3, O_RDWR) failed: Permission denied (13) in /opt/lampp/htdocs/portofolio1/php_error.php on line 6如果会话可以成功启动,则您不会看到任何内容 警告,否则请检查 警告正确的访问权限.当前的"session.save_path" 是"/opt/lampp/temp/".会话文件名: "sess_eobqtotm38tean46jjthbih1m3".If a session could be started successfully you should not see any Warning(s), otherwise check the path/folder mentioned in the warning(s) for proper access rights. The current "session.save_path" is "/opt/lampp/temp/". Session file name: "sess_eobqtotm38tean46jjthbih1m3".警告:未知: 打开(/opt/lampp/temp//sess_eobqtotm38tean46jjthbih1m3,O_RDWR)失败: 权限在第0行的未知"中被拒绝(13)Warning: Unknown: open(/opt/lampp/temp//sess_eobqtotm38tean46jjthbih1m3, O_RDWR) failed: Permission denied (13) in Unknown on line 0警告:未知:无法写入会话数据(文件).请确认 当前session.save_path的设置是正确的 (/opt/lampp/temp/)在第0行的未知"中Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/opt/lampp/temp/) in Unknown on line 0现在我下一步该怎么做?Now what I should do next? 已解决! 关注该网站 通过在终端上输入sudo chmod -R 705 /opt/lampp/temp/sess_su8nntc1mvi9t3t6b3vu67kuquc9p012和sudo chown -R $user /opt/lampp/temp/sess_su8nntc1mvi9t3t6b3vu67kuquc9p012change $user with your usernamesess_su8nntc1mvi9t3t6b3vu67kuquc9p012 is my session file, it should be different on your system感谢axiac ^^ Thanks, axiac^^ 推荐答案尝试这样sudo chown root:root /opt/lampp/temp/sess_243ca2147169ded5d73ae8290b2f68fe 这篇关于phpMyAdmin-会话启动期间出现错误Mysql错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-20 21:42