如何修复调用session_start()时的权限错误?
2022-08-30 16:55:57
当我将脚本上传到服务器时,我得到了这个错误
Warning: Unknown: open(/tmp/sess_58f54ee6a828f04116c2ed97664497b2, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
当我调用 时出现错误,尽管我将 /tmp 文件夹的权限设置为 777。session_start()