PHP 4.0 Bug #10069: fread() / fputs() error with apache modules
| From: | chouyu at ithow dot com | Date: | Fri, 30 Mar 2001 02:13:09 +0000 |
| Subject: | PHP 4.0 Bug #10069: fread() / fputs() error with apache modules | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50322@lists.php.net to get a copy of this message | ||
From: chouyu@ithow.com
Operating system: Windows NT 5.0 build 2195(Windows 2000 Adv Server)
PHP version: 4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description: fread() / fputs() error with apache modules
When I run PHP 4.0.4pl1 as apache module on my Windows 2000 ADV Server, I got the problem.
When I fread() from a binary file, or fputs() a binary string to a file, the file not same as my
data.
The "0x0a" expanded to "0x0d0a", I don't know why.
I try it by CGI PHP and PHP command line on same system, them ok.
My PHP 4.0.4pl1 Win32 Binary was download from www.php.net.
php.ini just changed some from php.ini-dist:
short_open_tag = off
max_execution_time = 120
session.cache_limiter =private
--
Edit Bug report at: http://bugs.php.net/?id=10069&edit=1