Welcome! Log In Create A New Profile

Advanced

Re: error log and session in PHP

February 27, 2011 08:16PM
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
Subject Author Posted

Passing variables to access_log, error_log names

ajgon February 26, 2011 04:49PM

RE: Passing variables to access_log, error_log names

Richard Kearsley February 26, 2011 04:58PM

Re: RE: Passing variables to access_log, error_log names

ajgon February 26, 2011 05:08PM

Re: RE: Passing variables to access_log, error_log names

ajgon February 26, 2011 06:20PM

Re: Passing variables to access_log, error_log names

António P. P. Almeida February 26, 2011 05:22PM

Re: Passing variables to access_log, error_log names

Maxim Dounin February 26, 2011 06:04PM

Re: Passing variables to access_log, error_log names

António P. P. Almeida February 26, 2011 06:48PM

Re: Passing variables to access_log, error_log names

Igor Sysoev February 27, 2011 03:20AM

Re: Passing variables to access_log, error_log names

António P. P. Almeida February 27, 2011 12:04PM

Re: Passing variables to access_log, error_log names

Dayo February 27, 2011 11:27AM

Re: Passing variables to access_log, error_log names

Jim Ohlstein February 27, 2011 11:48AM

Re: Passing variables to access_log, error_log names

Dayo February 27, 2011 12:05PM

error log and session in PHP

equinox February 27, 2011 01:08PM

Re: error log and session in PHP

Eberx February 27, 2011 08:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready