Ask an APACHEPHP environment question.

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.