phpMyAdmin 出现 Error during session...错误?
phpMyAdmin – Error 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. session_start(): open(SESSION_FILE, O_RDWR) failed: Permission denied (13)
问题原因:PHP 的 session.save_path
路径目录的权限设置不正确。
解决方案:打开WinSCP,运行如下命令即可
chown -R root:nginx /var/lib/php/session echo 'chown nginx. -R /var/lib/php' >> /etc/cron.daily/0yum-daily.cron