#29683 [Ver->Csd]: headers_list() func. return empty array
| From: | tony2001@php.net | Date: | Mon, 20 Jun 2005 12:53:51 +0000 |
| Subject: | #29683 [Ver->Csd]: headers_list() func. return empty array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-80704@lists.php.net to get a copy of this message | ||
ID: 29683
Updated by: tony2001@php.net
Reported By: ca533512 at tiscali dot cz
-Status: Verified
+Status: Closed
Bug Type: Apache related
Operating System: Win2k SP4
PHP Version: 5.0.1
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Fixed for 5.0 and 5.1.
Previous Comments:
------------------------------------------------------------------------
[2005-05-20 23:21:56] tony2001@php.net
Still valid for 5.0.5-dev and 5.1-dev.
------------------------------------------------------------------------
[2005-05-20 22:20:49] alisencer at gmail dot com
I have the same problem on Ubuntu 5.04 Hoary.
Server Version: Apache/2.0.53
Server built: May 6 2005
PHP/5.0.4
headers_list() returns an empty array.
------------------------------------------------------------------------
[2005-03-06 20:58:21] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-02-15 11:43:02] rd dot contact at free dot fr
Same bug on win xp and apache 2.52
Same code from PHP doc tested with today's (15 Fev 2005)
5.03
5.04dev
5.1.0dev
------------------------------------------------------------------------
[2005-01-09 19:04:19] tiagojcb at hotmail dot com
Hi !
Server version: Apache/2.0.52
Server built: Oct 20 2004 11:51:56
Loaded Modules core mod_access mod_auth mod_include mod_log_config
mod_env mod_setenvif mod_ssl prefork http_core mod_mime mod_asis
mod_negotiation mod_dir mod_imap mod_actions mod_so mod_php5
PHP 5.0.3 (cli) (built: Jan 9 2005 15:46:57)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies
If I run the example code from the CLI, it works.
From apache it return an empty array.
It's running on a Slackware Linux and php was built with './configure'
'--with-apxs2=/usr/local/apache/bin/apxs' '--with-gd'
'--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib'
'--enable-memory-limit' '--with-pgsql=/usr/local/pgsql'
'--prefix=/usr/local/php' '--without-mysql'
Thanks for any help.
------------------------------------------------------------------------
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/29683
--
Edit this bug report at http://bugs.php.net/?id=29683&edit=1