<html>
<head>
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 04/06/14 12:00,
<a class="moz-txt-link-abbreviated" href="mailto:zendto-request@zend.to">zendto-request@zend.to</a> wrote:<br>
</div>
<blockquote cite="mid:mailman.7.1401879602.19077.zendto@zend.to"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="MS Exchange Server version
08.01.0390.000">
<title>ZendTo Digest, Vol 47, Issue 1</title>
<!-- Converted from text/plain format -->Hi,<br>
<p><font size="2">
<br>
today was the first time a user uploaded a file larger that
2Gb and he<br>
got the error:<br>
<br>
/<br>
Upload Error<br>
There was an error while uploading 'orasrv11204install.zip'.
The file<br>
size exceeds the limit imposed by PHP on the server; please
contact the<br>
administrator regarding this problem.<br>
\<br>
<br>
<br>
I verified my configuration:<br>
<br>
from php.ini<br>
<br>
auto_prepend_file =<br>
auto_append_file =<br>
file_uploads = On<br>
upload_max_filesize = 50G<br>
session.save_handler = files<br>
session.entropy_file =<br>
apc.max_file_size = 50G<br>
<br>
from preferences.php<br>
<br>
'maxBytesForDropoff' => 21474836470, // 20 GBytes<br>
'maxBytesForFile' => 21474836470, // 20 GBytes<br>
<br>
from clamd.conf<br>
<br>
LogFileMaxSize = "4294967295"<br>
MaxConnectionQueueLength = "30"<br>
StreamMaxLength = "26214400"<br>
StreamMaxPort = "2048"<br>
MaxThreads = "50"<br>
MaxQueue = "100"<br>
MaxDirectoryRecursion = "15"<br>
MaxScanSize = "104857600"<br>
MaxFileSize = "26214400"<br>
MaxRecursion = "16"<br>
MaxFiles = "10000"<br>
MaxEmbeddedPE = "10485760"<br>
MaxHTMLNormalize = "10485760"<br>
MaxHTMLNoTags = "2097152"<br>
MaxScriptNormalize = "5242880"<br>
MaxZipTypeRcg = "1048576"<br>
MaxPartitions = "50"<br>
MaxIconsPE = "100"<br>
OnAccessMaxFileSize = "5242880"<br>
LogFileMaxSize = "1048576"<br>
MaxAttempts = "3"<br>
<br>
As far as I understand limits in clamd should not affect the
process?<br>
<br>
<br>
>php --version<br>
HP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)<br>
Copyright (c) 1997-2010 The PHP Group<br>
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies<br>
<br>
>uname -a<br>
Linux drop 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7
23:32:49 UTC 2014<br>
x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
>cat /etc/centos-release<br>
CentOS release 6.5 (Final)<br>
<br>
My system is 64bit and I started with the prebuild CentOS
vmware image.<br>
I regularly updated the system via yum update/upgrade.<br>
<br>
Any ideas ? I appreciate your help.<br>
<br>
Kind regards<br>
<br>
PCFreak<br>
</font><br>
</p>
</blockquote>
<br>
Hi,<br>
<br>
I believe this is an issue with PHP 5.3. Even though the system is
64bit, PHP uses 32bit integers for the post max size. This was fixed
in PHP 5.4. Alternatively, if you do not wish to upgrade, you can
set post_max_size = 0 and upload_max_filesize = 0 in your php.ini to
skip the buggy check entirely.<br>
<br>
See this PHP bug report for more info:
<a class="moz-txt-link-freetext" href="https://bugs.php.net/bug.php?id=44522">https://bugs.php.net/bug.php?id=44522</a><br>
<br>
Geoff King<br>
</body>
</html>