search

Home  >  Q&A  >  body text

php - session permission error.

1》An error message pops up when installing the program,
Warning: SessionHandler::read(): open(C:WINDOWSsess_ql575jlc0ksrl5f0s0ut243sg0, O_RDWR) failed: Permission denied (13) in D:phpStudyWWWmycncartsystemlibrarysessionnative.php on line 17< /p>

2》Find the error location,

public function read($session_id) {
    return parent::read($session_id);
}

3》According to the error message, it should be a permissions issue. The system environment is windows, using phpstudy, and it is installed on the D drive. The error message should be that there is no access permission to the windows directory on the C drive. Please tell me how to solve it.

我想大声告诉你我想大声告诉你2794 days ago474

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-16 13:04:41

    Configure the virtual host and specify the program root directory to other non-sensitive directories.

    reply
    0
  • Cancelreply