Installing a site, but the result has been connected to the database error. Posted contents given below and
Error system: the PHP 7.0 . 33 is (the Linux) Error Type: WARNING Content: session_start (): Open ( / var / lib / PHP / the session / sess_tlrp3cpro7gun9uhno8n6futr3, O_RDWR) failed: No SUCH File or Directory ( 2 ) the error location: / home / www / pazzn / skymvc / skymvc.php line: 226 / Home / the WWW / pazzn / skymvc / skymvc.php: 226 lines, call the method: session_start / Home / the WWW / pazzn / skymvc / skymvc.php: 248 lines, call the method: initsession / Home / the WWW / pazzn / index.php: 40 OK, call the method: require please contact administrator
A search online this error is to modify the php.ini say what ah, such as change the session.save_path = "/ var / lib / php / session" or something. We have tried useless.
In fact, people have been given the document did not show up. And given authority to directly create
[root@localhost php]# mkdir /var/lib/php/session [root@localhost php]# cd /var/lib/php/ [root@localhost php]# ls session [root@localhost php]# ll total 0 drwxr-xr-x 2 root root 6 May 29 17:48 session d---rwxrwx 2 root root 6 May 29 17:48 session [root@localhost php]# chmod 777 session/ drwxrwxrwx 2 root root 6 May 29 17:48 session [root@localhost php]# ls
I refer to this link such operations: https://blog.csdn.net/zhuxiongyin/article/details/80499562
Well then. Is my web site can be opened