Welcome! Log In Create A New Profile

Advanced

Can you pass session config via the parameters?

Posted by Rob Dudley 
Rob Dudley
Can you pass session config via the parameters?
August 09, 2012 10:44AM
Hiya,

I'm using PHP-FPM via Nginx and was wondering if it's possible to
pass session time out configuration via the fast cgi parameters?

As a related question, is there is a list of Fast CGI params anywhere?

Thanks

Rob
Rob Dudley
Re: Can you pass session config via the parameters?
August 09, 2012 12:40PM
After a bit more digging I discovered that I needed the fastcgi_param
PHP_VALUE directive to override the php.ini default.

Works a treat!

Rob

On Thursday, August 9, 2012 3:31:30 PM UTC+1, Rob Dudley wrote:
>
> Hiya,
>
> I'm using PHP-FPM via Nginx and was wondering if it's possible to
> pass session time out configuration via the fast cgi parameters?
>
> As a related question, is there is a list of Fast CGI params anywhere?
>
> Thanks
>
> Rob
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
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