ID:               26833
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php at f0e dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: FreeBSD 5.1-RELEASE-p10
 PHP Version:      4.3.4
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Yes, this is same issue as in bug #25753 (no need to add any comments
there..unless you can provide a testcase with which this bug can be
reproduced reliably everywhere..)



Previous Comments:
------------------------------------------------------------------------

[2004-01-07 20:26:35] php at f0e dot net

I am positive there are no php_* flags in the httpd.conf, but there
is:

php_flag register_globals off
php_value magic_quotes_gpc off

in a .htaccess in a different vhost/directory. 

I configured apache2 with the following:

./configure \
--enable-so \
--enable-ssl \
--enable-rewrite \
--enable-suexec \
--enable-deflate \
--enable-expires \
--enable-headers \
--enable-speling \
--with-suexec-caller=apache \
--with-suexec-docroot=/home \
--with-suexec-logfile=/var/log/suexec_log \
--with-suexec-uidmin=500 \
--with-suexec-gidmin=500

FYI: this error? occurs with the 4.3.5-dev snapshot as well.

Are you thinking that it is apache getting confused and allowing custom
php flags from other vhosts interfer? Maybe I'm submitting to the wrong
bug tracker :)

Thanks again

------------------------------------------------------------------------

[2004-01-07 20:07:24] [EMAIL PROTECTED]

One more thing: How was apache2 configured? (what MPM is used?)


------------------------------------------------------------------------

[2004-01-07 20:06:26] [EMAIL PROTECTED]

Are you ABSOLUTELY sure there aren't ANY of those php_* flags used
ANYWHERE in your httpd.conf/.htaccess files? (in ANY vhost, etc.) 



------------------------------------------------------------------------

[2004-01-07 20:02:00] php at f0e dot net

I added:

var_dump(ini_get('register_globals'));

to the top of the code.. 

When $REMOTE_ADDR was being defined correctly, the first line was
'string(1) "1"'.

After a few more refreshes, $REMOTE_ADDR wasn't defined and the first
line was changed to 'string(1) "0"'.

I do not have a .htaccess file in the script's directory or parent
directory nor am I setting any php values in the httpd.conf.

I will try the snapshot.

Thanks

------------------------------------------------------------------------

[2004-01-07 19:49:59] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

And do you by any chance set any php.ini options inside any .htaccess
file or in httpd.conf ? (with php_flag / php_value / php_admin_flag /
php_admin_value) 

Also, check that register_globals is actually 'On' during execution by
adding this to your test script:

var_dump(ini_get('register_globals'));


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26833

-- 
Edit this bug report at http://bugs.php.net/?id=26833&edit=1

Reply via email to