[ZendTo] Re: The file size exceeds the limit imposed by PHP on the server

Sallee, Jake Jake.Sallee at umhb.edu
Wed Jun 4 21:24:32 BST 2014


It is a problem with php look here:

http://zend.to/phpfix.php

That should fix it.


Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
WWW.UMHB.EDU

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221

________________________________________
From: zendto-bounces at zend.to [zendto-bounces at zend.to] on behalf of Der PCFreak [mailinglists at pcfreak.de]
Sent: Wednesday, June 04, 2014 5:15 AM
To: ZendTo Users
Subject: [ZendTo] The file size exceeds the limit imposed by PHP on the server

Hi,

today was the first time a user uploaded a file larger that 2Gb and he
got the error:

/
Upload Error
There was an error while uploading 'orasrv11204install.zip'. The file
size exceeds the limit imposed by PHP on the server; please contact the
administrator regarding this problem.
\


I verified my configuration:

from php.ini

auto_prepend_file =
auto_append_file =
file_uploads = On
upload_max_filesize = 50G
session.save_handler = files
session.entropy_file =
apc.max_file_size = 50G

from preferences.php

'maxBytesForDropoff'   => 21474836470, // 20 GBytes
'maxBytesForFile'      => 21474836470, // 20 GBytes

from clamd.conf

LogFileMaxSize = "4294967295"
MaxConnectionQueueLength = "30"
StreamMaxLength = "26214400"
StreamMaxPort = "2048"
MaxThreads = "50"
MaxQueue = "100"
MaxDirectoryRecursion = "15"
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
MaxEmbeddedPE = "10485760"
MaxHTMLNormalize = "10485760"
MaxHTMLNoTags = "2097152"
MaxScriptNormalize = "5242880"
MaxZipTypeRcg = "1048576"
MaxPartitions = "50"
MaxIconsPE = "100"
OnAccessMaxFileSize = "5242880"
LogFileMaxSize = "1048576"
MaxAttempts = "3"

As far as I understand limits in clamd should not affect the process?


 >php --version
HP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

 >uname -a
Linux drop 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux

 >cat /etc/centos-release
CentOS release 6.5 (Final)

My system is 64bit and I started with the prebuild CentOS vmware image.
I regularly updated the system via yum update/upgrade.

Any ideas ? I appreciate your help.

Kind regards

PCFreak




_______________________________________________
ZendTo mailing list
ZendTo at zend.to
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto



More information about the ZendTo mailing list