[FX.php List] Strange error message
Bob Patin
bob at patin.com
Wed Feb 21 09:40:40 MST 2007
Actually, I got brazen and tried both of these, which didn't work:
ini_set(session.bug_compat_42) = 0
ini_set(session.bug_compat_42=0);
...
I'm wondering if I should just turn them off in php.ini?
Bob
On Feb 21, 2007, at 10:38 AM, Bob Patin wrote:
> Dan,
>
> Thanks for your reply; I do see that session.bug_compat_warn and
> bug_compat_42 are both set to ON in php.in by looking at phpinfo.
>
> From the page that you sent me to, it looks like I can use
>
> ini_set()
>
> to set it in my script, but how would I configure it? This is a
> working site so i have to be very careful in trying stuff that
> brings the site down...
>
> Would it be
>
> ini_set(session.bug_compat_42) = "1";
>
> ?
>
> or does the setting have to happen inside the parentheses? I
> couldn't find an example of its usage...
>
> Thanks,
>
> Bob
>
>
>
> On Feb 21, 2007, at 10:26 AM, DC wrote:
>
>> it sounds like the SESSION variable scoping issue i mentioned last
>> week.
>>
>> why not just set the ini vars in the top of your index.php script?
>> many of the ini settings can be set in scripts rather than in
>> php.ini.
>>
>> it looks like those can be set in scripts as they are labeled:
>> PHP_INI_ALL
>>
>> see this page for the list:
>> http://www.php.net/manual/en/ini.php
>>
>> dan
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070221/314fcf5e/attachment-0001.html
More information about the FX.php_List
mailing list