On 2/28/2011 2:05 AM, Aditya Herlambang wrote:
> I am getting the following error log:
>
> PHP Warning: Unknown: Failed to write session data (files). Please
> verify that the current setting of session.save_path is correct
> (/var/lib/php/session) in Unknown on line 0" while reading upstream,
> client: 70.176.18.156, server: localhost, request: "POST
> /phpMyAdmin/setup/index.php?page=form&formset=main_frame HTTP/1.1",
> upstream: "fastcgi://127.0.0.1:9000", host: "50.56.81.42", referrer:
> "http://50.56.81.42/phpMyAdmin/setup/index.php?page=form&formset=main_frame"
> 2011/02/27 16:19:03 [error] 22892#0: *56 FastCGI sent in stderr: "PHP
> Warning: Unknown:
> open(/var/lib/php/session/sess_1om2jb4klr65bfotepo0j7214cvrj2b2,
> O_RDWR) failed: Permission denied (13) in Unknown on line 0
>
> How can I fix this??
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
Hello,
The permission of /var/lib/php/session folder should be drwx-wx-wt and
owner is root, user is root.
You need to change it.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx