ID: 25172 Updated by: [EMAIL PROTECTED] Reported By: php at lansco dot de -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux PHP Version: 4.3.3RC5-dev New Comment:
Your test site shows the correct output all the time.. Have you checked phpinfo() output when this happens? (add it to your test script) What is in section "Apache Environment" for HTTP_HOST then? (be sure the script gives the error about $HTTP_HOST being undefined) What is register_globals setting set to at that time? (phpinfo(), both values) Previous Comments: ------------------------------------------------------------------------ [2003-08-22 03:52:04] php at lansco dot de I can reproduce the error with - 4.3.2 - 4.3.3-rc4 - 4.3.3-rc5-dev I cannot reproduce the error with - 4.3.1 I run all the test-series on the same machine (www.lansco.de). Use this command line to test it on my server: watch -n 1 "wget http://www.lansco.de/php/bug-25172.php -q -O xxx;cat xxx>>zzz;tail -n 30 zzz" After a few minutes you can see the errors in the zzz-file. ------------------------------------------------------------------------ [2003-08-22 01:49:55] php at lansco dot de I've created a Directory with a few interesting files: http://www.lansco.de/php/ Please try http://www.lansco.de/php/bug-25172.php as often as necessary to reproduce the error. "register_globals" is only set in the php.ini ------------------------------------------------------------------------ [2003-08-21 18:11:52] [EMAIL PROTECTED] One more thing: Where do you set "register_globals" ? (php.ini and/or httpd.conf and/or .htaccess ?) And can you try with this script instead: <?php error_reporting(E_ALL); echo '<pre>'; var_dump($HTTP_HOST); var_dump($_SERVER['HTTP_HOST']); echo '</pre>'; ?> I can not reproduce this.. ------------------------------------------------------------------------ [2003-08-21 08:38:25] php at lansco dot de Apache-configure: "./configure" \ "--prefix=/usr/local/apache2" \ "--with-mpm=prefork" \ "--enable-modules=deflate expires include info rewrite ssl unique_id usertrack log_config logio rewrite vhost_alias so ext_filter dav headers speling" PHP-configure: './configure' '--with-mysql=/usr/local/mysql' '--enable-ftp' '--with-gd' '--with-gd-dir=/usr/local' '--with-jpeg' '--with-jpeg-dir=/usr/local' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gettext' '--with-mcrypt' '--with-imap' '--with-imap-ssl' '--with-ldap' '--with-zlib-dir=/usr/include' '--enable-xslt' '--with-xslt-sablot' '--enable-exif' ------------------------------------------------------------------------ [2003-08-21 08:29:30] [EMAIL PROTECTED] What was the configure line used to configure Apache? (And PHP too) ------------------------------------------------------------------------ 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/25172 -- Edit this bug report at http://bugs.php.net/?id=25172&edit=1