Bug #16842 Updated: header() function doesn`t work

From: Date: Sat, 08 Jun 2002 08:08:36 +0000
Subject: Bug #16842 Updated: header() function doesn`t work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9819@lists.php.net to get a copy of this message
ID: 16842 Updated by: derick@php.net Reported By: sanya@mail.ru -Status: Open +Status: Bogus Bug Type: HTTP related Operating System: Windows XP PHP Version: 4.2.0 New Comment: User error > bogus Previous Comments: ------------------------------------------------------------------------ [2002-06-07 14:38:06] m@burkmat.nu Apparently phpinfo() and phpversion() reads from php4ts.dll, which still was version 4.1.1 on my dev-machine. I simply replaced php4ts.dll (in \WINNT\system32) with the one that came in the php-4.2.1-Win32 distribution and header() now works flawless :) ------------------------------------------------------------------------ [2002-06-07 14:10:27] m@burkmat.nu When I upgraded from 4.1.1 to 4.2.1 I got this problem too. I've gone through all of php.ini, comparing the values of 4.1.1 with those of 4.2.1. After some modifications (and apache/php restart), header() still does not work. Even though the values in php.ini are the same. The weird thing is that Apache says it's running PHP/4.2.1 (as currently installed) but phpinfo() and phpversion() both say it's still 4.1.1. Even weirder is that "php -v" and "php -i" both says 4.2.1. ------------------------------------------------------------------------ [2002-06-06 14:30:31] juts@atlantic.net This bug is two weeks old. Does anyone have any updates? Thanks. ------------------------------------------------------------------------ [2002-05-25 11:33:33] ashpool7@yahoo.com Have the same problem with 4.2.1. Similar to carstenseiler. Windows NT SP6a + Hotfixes on Apache 1.3.23. Running as module. Downgrading to 4.1.1 fixes it. ------------------------------------------------------------------------ [2002-05-08 00:32:44] carstenseiler@hotmail.com PHP 4.2 with Apache 2.035 on Win2k Professional SP2 After upgrading to V4.2 I immediately had problems with the header() function. Even a simple script: <?php header("Location: index.php"); ?> does not work. Blank page. ------------------------------------------------------------------------ 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/16842 -- Edit this bug report at http://bugs.php.net/?id=16842&edit=1

« previous php.bugs (#9819) next »