Php.ini - How to set session.auto_start to 0

Label |Website for ihap.great-site.net
Main Domain |xgjhwj2k.epizy.com

One critical aspect of the PHP installation is the setting of session.auto_start in the php.ini file. Some rpm distributions of PHP have the default setting of session.auto_start = 1. This starts a new session at the beginning of each script. However, this makes it impossible to instantiate any class objects that the system relies on. Classes are used extensively in my web app. When sessions are required they are started by the system and this setting of session.auto_start can and should be set to 0.

Nobody can edit php.ini, even admin can’t.

2 Likes
1 Like

The setting is set to Off on our servers, which is just another way to say “no”. Sessions are not automatically started here.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.