centos6.4 nginx+mysql+php整合phpmyadmin出错解决方案

今天在centos下整合phpmyadmin出错,错误提示如下:

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.

在Google上转了一下,找到了想要的答案,特意记录下来

在php.ini中开启
session.save_path = "/var/lib/php/session/"

原文:

http://stackoverflow.com/questions/5013118/cannot-start-session-without-errors-in-phpmyadmin  

session.save_path = "/var/lib/php/session"
drwxr-xr-x  2 root apache 4096 Feb 16 04:47 session

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。