Re: problem with register globals on new server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> afan@xxxxxxxx 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.
yup! that was the problem.
though, after I talked to administrator, he is not happy to reconfigure
Apache to allow .htaccess because of security issue. Is this REALLY so big
issue? I have several osComerce carts and in some (most) of them I did
some changes in code. Means, I have to move all carts to other shopping
cart app and it's HUGE work?!?
btw, any free cart that is well supported in php5/mysql5/apache2 and
register globals off etc. to recomend?

thanks.

-afan



>
> 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/
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux