Koozali.org: home of the SME Server

Old ground but need some php maxfilesize help !

allan

Old ground but need some php maxfilesize help !
« on: November 11, 2002, 02:33:12 PM »
Gidday folks,
  I've rsearched the forum, tried everything everyone else has suggested, searched the faq, tried the trick in there .... I still cant upload anything greater than 2mb to my 5.5 box ... I can get just up to 2mb, but no more .. I've set the MaxFileSize in /sbin/e-smith/config yadahyadahyadh, ive manually set Max File Size in php.ini I've done service httpd stops and then starts .. I've used swear words, words of encouragement, and ended up with nothing !

Any help would be greatly appreciated.

The more basic the better ! Has anyone using e-smith actually uploaded via a website or imp webmail or any other .php script a file of greater than 2mb ever ?

Cheers, al.

Paul

Re: Old ground but need some php maxfilesize help !
« Reply #1 on: November 11, 2002, 03:14:46 PM »
I just brought this up yesterday...

http://forums.contribs.org/index.php?topic=14381.msg54751#msg54751

So far the answer must be NO..   because I am in the same boat as you -- too bad, because besides this problem...Esmith rocks.. [it rocks anyway].

If you EVER figure it out please drop me an email -- I will do the same.

thanks,

Paul

Jáder Marasca

Re: Old ground but need some php maxfilesize help !
« Reply #2 on: November 11, 2002, 05:42:00 PM »
Hi,

Ever you tryed this: (from documentation)
"
How can I increase (or decrease) the file-size restriction on webmail attachments?
The default webmail attachment limit is 2Megabytes. In SME Server versions 5.5 and later you can set the webmail attachment limit by setting the php UploadMaxFilesize property. Once you'd done so you'll need to signal the email-update event. For example, to set the maximum attachment size to 50Megabytes:

/sbin/e-smith/db configuration setprop php UploadMaxFileSize 50M
/sbin/e-smith/signal-event email-update
For versions prior to 5.5 either a custom-template or manual configuration of the php initialization file is required.
"
But if you are SME < 5.5 so try:
From : http://forums.contribs.org/index.php?topic=14381.msg54752#msg54752
"
http://myezserver.com/downloads/mitel/howto/webmail-attachment-size-howto.html
"


I hope this help both of you!

Jáder

Paul

Re: Old ground but need some php maxfilesize help !
« Reply #3 on: November 11, 2002, 07:56:44 PM »
Well, I did see this in an earlier post and was affraid to include to install the rpm.  But since Ive had it up to here with the whole thing I tried it... turns out the 5.5 has a more recent version so I did not have to install rpm.

I followed the remaining instructions and just sent my first 9mb attachment with no problem whatsoever.

Seems to have worked..

Thank you very much.

Paul

Jáder Marasca

Re: Old ground but need some php maxfilesize help !
« Reply #4 on: November 11, 2002, 08:04:39 PM »
That´s a wonderful notice!

Congratulations!

And thanks to answer back giving some return about your problem solved!

Bye!

Jáder

Bob Todd

Re: Old ground but need some php maxfilesize help !
« Reply #5 on: November 11, 2002, 08:32:18 PM »
I wondered why the webshare util didnt allow some of the files I tested it with to be uploaded - guess its the 2Mb limit with php . Have adjusted the settings as per the instructions above and hey presto webshares now accept large files :-)

Jáder Marasca

Re: Old ground but need some php maxfilesize help !
« Reply #6 on: November 11, 2002, 09:58:59 PM »
That´s great!
One more happy with the same answer!

Al

Re: Old ground but need some php maxfilesize help !
« Reply #7 on: November 12, 2002, 02:50:37 AM »
Thanks for your post, I'll try it out when I get home, It's worked on the box here at work though .. I'm sure I'd already done the same thing, but there you go.

Cheers,
al.

allan

Re: Old ground but need some php maxfilesize help !
« Reply #8 on: November 12, 2002, 12:39:01 PM »
your a legend ... it worked :) Thanks again.
al.