session_ start(): open(SESSION_ FILE, O_ Rdwr)) failed: processing of permission denied (13)

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)

a lot of friends have had this problem with phpmyadmin, so how do you solve it?

problem

usually occurs in this case, which is a problem of session.save_path assignment. The location of session can be empty, or the target address may not exist, or it may be a permission problem, we need to check one by one.

solution

check PHP. The session in the ini. Save_path assignment, Linux system generally located in the/etc/PHP ini, if the assignment is empty, and then to check the/etc/HTTPD/conf. D/PHP. The conf file session. Save_path assignment, if the same is empty, you need to specify an existing path.
if either of the above two parameters has an assignment, you need to check whether the directory specified by the assignment exists, if not, you need to create a directory.
if the specified directory exists, then check the directory permissions, direct 777 is the most convenient.

thought flow

Top cloud blog, database, cloud speed, virtual host, domain name registration, domain name, cloud server, cloud host, cloud building site,ysidc.top

Read More: