Ask an APACHEPHP environment-related question. when I use XAMPP to install a website, no member logon timeout occurs and the website is automatically exited. when I use PHPserver to install the website, the session is automatically exited in about 10 minutes, where can I solve this problem? Environment packages are all set by default, and no other settings are made.
Reply to discussion (solution)
Session. gc_maxlifetime
Set session. gc_maxlifetime in php. ini to the maximum session survival time.
Set session. gc_maxlifetime in php. ini to the maximum session survival time.
PHPserver value session. gc_maxlifetime = 86400 XAMPP value session. gc_maxlifetime = 1440
The PHPserver value is even greater. why is the session time only about 10 minutes? If XAMPP does not exit, does the session time-out occur?
What else do I need to do when I find something wrong with it? use xampp directly.
What else do I need to do when I find something wrong with it? use xampp directly.
XAMPP is a development environment with many vulnerabilities