Re: problem with register globals on new server

From: Date: Fri, 01 Dec 2006 03:20:29 +0000
Subject: Re: problem with register globals on new server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-245387@lists.php.net to get a copy of this message
afan@afan.net wrote:
hi, I had to move my osComerce store to new hosting company. new server runs on php5/mysql5. got this error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! since evenon old server globals was Off I was adding <ifModule mod_php4.c> php_value register_globals 1 </ifModule> Now, I tried with <ifModule mod_php5.c> php_value register_globals On </ifModule> but it doesn't work.
Maybe your host doesn't allow it to be changed through a htaccess.. Is htaccess support enabled? Put garbage in the file (random chars) and if you get a 500 internal server error, htaccess files work.. if you don't, that's the problem. Also I think apache is case sensitive: <IfModule mod_php5.c> ^^^^^^^^^ (not 100% sure but worth a try). -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#245387) next »