Re: Setcookie variable use issue after moving php app to different server

From: Date: Thu, 26 Aug 2004 14:48:33 +0000
Subject: Re: Setcookie variable use issue after moving php app to different server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194799@lists.php.net to get a copy of this message
From: "Shapiro, David" <david.shapiro@itcdeltacom.com>
Thanks for pointing in the hopefully the right direction. I see in /etc/php.ini the following:
; - register_globals = Off         [Security, Performance]
I put below this line: register_globals = On And I restarted apache. However, it did not seem to resolve the issue, although I still think this sounds right. Do I implement the turning on of the register_globals correctly, or do I need to do something different?
That's the right method, but you may not have edited the correct php.ini. Create a PHP page that only has <?php phpinfo(); ?> as the source. Load that page and it'll show you all of the setting PHP is currently using along with the location of the php.ini file it's getting the configuration from. The php.ini file will be listed in the first table that's shown. If there is a full path including "php.ini" at the end, then that's the right file. If it's just a path, then that's where PHP is expecting to find php.ini, but did not. Hope that helps. ---John Holmes...

« previous php.general (#194799) next »