Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: dmajwool on May 06, 2005, 12:47:31 PM
-
We're having a strange problem with uploading files > 1MB on a Mambo/Docman installation on SME 6.5RC1
I've already run through the FAQ on increasing UploadMaxFileSize and PostMaxSize in php.ini - these values are shown at the correct values when I query them with a PHP test file.
When I upload a file using the internal interface (i.e. using the internal IP address of the SME box or using that same IP address as my gateway on another machine) I have no problems at all uploading.
As soon as I try and upload a file of greater than 1MB via an external interface however the upload fails with "document contains no data" error. I'm pretty sure that this must be related to SME settings rather than docman settings (because the internal interface works) but I've no idea what setting would cause this - any ideas gratefully received!
-
I use these settings as mentioned by Charlie, I believe, a while back:
/sbin/e-smith/config setprop php MaxExecutionTime 1800
/sbin/e-smith/config setprop php MemoryLimit 100M
/sbin/e-smith/config setprop php PostMaxSize 25M
/sbin/e-smith/config setprop php UploadMaxFilesize 25M
then
/sbin/e-smith/expand-template /etc/php.ini
/etc/e-smith/events/actions/restart-httpd-full
GL
JB