php.ini setting and Session problem
Posted: Thu Jul 22, 2004 7:09 am
Session question:
I am running several apache binaries on one machine. Several sites use the binary with php compiled in. Now to the problem.
1. I need different session paramenters on those sites. How does php read the php.ini? At startup of the apache binary or also during runtime?
I was thinking of changing the php.ini, start a binary, change php.ini start another binary. Would that work or/and is there a more convenient way to accomplish this task?
2. I need s session to continue from http://www.foo.com to secure.foo.com. Manually setting a cookie with the domain setting of foo.com should work for cookies but how do I change the domain for the session cookie? It saves as http://www.foo.com and therefore secure.foo.com cannot read it.
I am running several apache binaries on one machine. Several sites use the binary with php compiled in. Now to the problem.
1. I need different session paramenters on those sites. How does php read the php.ini? At startup of the apache binary or also during runtime?
I was thinking of changing the php.ini, start a binary, change php.ini start another binary. Would that work or/and is there a more convenient way to accomplish this task?
2. I need s session to continue from http://www.foo.com to secure.foo.com. Manually setting a cookie with the domain setting of foo.com should work for cookies but how do I change the domain for the session cookie? It saves as http://www.foo.com and therefore secure.foo.com cannot read it.