首页 > 代码库 > centos6.4 nginx+mysql+php整合phpmyadmin出错解决方案

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

 

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