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

  1. ; Initialize session on request startup. 
  2. ; http://php.net/session.auto-start 
  3. session.auto_start = 1