Warning: Unknown: open(/tmp/sess_vhkl9n9ruo66h5bjmkprsmpbv1, 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 () in Unknown on line 0
Warning: session_start() [function.session-start]: open(/tmp/sess_vhkl9n9ruo66h5bjmkprsmpbv1, O_RDWR) failed: Permission denied (13) in /usr/local/apache/htdocs/cacti/include/global.php on line 148
解决:
修改vi php.ini
- ; Initialize session on request startup.
- ; http://php.net/session.auto-start
- session.auto_start = 1