cacti遇到http500错误解决方法

 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 

 

本文出自 “Firerat火鼠” 博客,转载请与作者联系!

你可能感兴趣的:(职场,解决方法,休闲)