The premise is that: eaccelerator has been installed. 2. Use session hierarchical directory Modify;session.save_path = "/tmp" Modified to:
Use the secondary hash directory under the /tmp/session directory to store the session php will not automatically create a hash directory. You need to manually create the corresponding directory and give permissions:
Instructions: Clean up once an hour, clean session files older than 3 hours. The third method I currently use works well. You can also try the first one and see the effect. Anyone who has a good method is welcome to share it with the Programmer’s Home for everyone to discuss together, haha. |