Apache 2 + php 4.04 memory problem

From: Date: Thu, 31 Jul 2003 18:58:29 +0000
Subject: Apache 2 + php 4.04 memory problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-20953@lists.php.net to get a copy of this message
Hellow all, I have small problem. I'm using simple download script <see below> to download realmedia files. I had it on apache 1.3 + php 4.01 module without any problems. But then I updated to Apache 2 + php 4.04 module and then after download any file memory is still alocated and after few hours server is memory overloaded. But I need Apache 2. Please can anybody help me. Thanx! JK <? $meno=$QUERY_STRING.".rm"; $file="E:/Archiv/".$QUERY_STRING.".rm"; $fp = fopen($file,"rb"); $fsize = filesize($file); header("Content-type: application/download \r \n"); header("Content-length: $fsize \r \n"); header("Content-Disposition: attachment; filename=\"$meno\""); fpassthru($fp); exit; ?>

« previous php.windows (#20953) next »