System version: CentOS 7.0 64 bit
Nginx version: nginx version: nginx / 1.9.8
PHP version: PHP 7.0.0 (CLI) (build: Dec 1 2015 17:53:27) (NTS)
MySQL version: mysqld ver 5.7.10
PhpMyAdmin version: 4.5.2-all-languages
After deploying phpMyAdmin, visit the home page and report an 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.
After Baidu, modify php.ini , open
session.save_path = "/var/lib/php/session"
Determine the permissions of / var / lib / PHP / session
[[email protected] /]# ll -d /var/lib/php/session/ drwxrwx--- 2 root apache 4096 Dec 2 00:57 /var/lib/php/session/
Change the user to nginx
[[email protected] /]# chown root.nginx /var/lib/php/session
After restarting nginx, refresh the page and access recovery.
The solution to the error report of phpadmin installation and configuration under nginx is to share all the content with you. I hope to give you a reference, and I hope you can support developeppaer more.