How to change the "session.gc_maxlifetime" php.ini setting

Status
Not open for further replies.

tentoka2

New Member
Messages
7
Reaction score
0
Points
1
Hello,

I am running the LimeSurvey server here, and have been having some problems with apparent session timeouts, so the LimeSurvey support suggested that I adjust the session.gc_maxlifetime setting in php.ini. Unfortunately, though, this setting doesn't seem to be available through the PHP Configuration panel. Any suggestions? How can I at least find out the current value of this setting?

Regards,
Oleg.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
How can I at least find out the current value of this setting?
whatever the current setting is - you can not - and x10hosting will not - change it

with this script on my x10hosting's free-hosting server [ xo3 ] ...
PHP:
<?php
error_reporting(E_ALL);

print "current value of \"session.gc_maxlifetime\" is ==>" . ini_get('session.gc_maxlifetime') . "<==<br>\n<br>\n";
?>
I receive --> [ current value of "session.gc_maxlifetime" is ==>1440<== ]
 
Status
Not open for further replies.
Top