PHP Problem In Apache

Adam Raymond streetsmart2-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Jan 6 18:05:23 UTC 2005


Hey, I'm running a slackware 10 box, as my web server. It comes with
apache already installed.

Server version: Apache/1.3.31 (Unix)

I installed PHP 4.3.9 on my web server a few days about, and it works.
How ever when I'm using sessions in PHP, I get a strange warning that
I can't get to go away. I know my code is correct, because i checked
it on my other web site (provided by a hosting company). I get the
error when I'm trying to write to a registered variable. Here is the
warning.

<warning>
Warning: Unknown(): Your script possibly relies on a session
side-effect which existed until PHP 4.2.3. Please be advised that the
session extension does not consider global variables as a source of
data, unless register_globals is enabled. You can disable this
functionality and this warning by setting session.bug_compat_42 or
session.bug_compat_warn to off, respectively. in Unknown on line 0
</warning>

I've turned resister_globals to On. And session.bug_compat_42 as well
as session.bug_compat_warn are both turned off (these settings are in
php.ini (/etc/apache)

Any help would be great, thanks allot

-- 
- Adam Raymond -
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list