Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#247924 - 01/14/12 12:42 AM File Attachment Size
Outdoorking Offline
enthusiast
Registered: 06/05/06
Posts: 265
Loc: Sydney, Australia
Hi to All,

I have a quetion relating to the maximium file size that can be uploaded. I have moderators that wish to upload pdf (manuals) files which are over 8MB and I am at a loss as to where I can increase the size.

In the CP/General/Primary/Topic Display I am able to increase the image file size but not the file upload size.

If someone can point me in the correct direction as to where I might be able to increase the pdf file upload size it would be appreciated.
_________________________
Regards,

Bruce
www.outdoorking.com
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#247926 - 01/14/12 12:56 AM Re: File Attachment Size [Re: Outdoorking]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
CP -> Forum Permissions -> Maximum size of file attachments
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#247927 - 01/14/12 01:03 AM Re: File Attachment Size [Re: Outdoorking]
gliderdad Offline
Registered: 06/08/06
Posts: 1466
Loc: NY
Also, you may not be able to upload a file that large if your php.ini is not set to allow that. You can check the php info in the cp, look for upload_max_filesize.
Top
#247934 - 01/14/12 03:50 AM Re: File Attachment Size [Re: gliderdad]
Outdoorking Offline
enthusiast
Registered: 06/05/06
Posts: 265
Loc: Sydney, Australia
Ok checked the upload file max size and it is only 10M we require 40M. Do I just change the php.ini file?
_________________________
Regards,

Bruce
www.outdoorking.com
Top
#247936 - 01/14/12 04:27 AM Re: File Attachment Size [Re: Outdoorking]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Yup; you may run into the php max execute time as well...


Edited by Gizmo (01/14/12 04:28 AM)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#247961 - 01/14/12 08:51 PM Re: File Attachment Size [Re: Gizmo]
Outdoorking Offline
enthusiast
Registered: 06/05/06
Posts: 265
Loc: Sydney, Australia
Hi guys,

This is all that is in the php.ini file:
memory_limit = 16M

max_execution_time


do I just change the memory limit?
_________________________
Regards,

Bruce
www.outdoorking.com
Top
#247965 - 01/15/12 02:50 AM Re: File Attachment Size [Re: Outdoorking]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
By default max_execution_time is usually 30 seconds; for wanting 40mb for the php memory limit "memory_limit" then I'd set the max exec to 60 or so...

I think I have memory_limit set to 32M and max_execution_time as 60 on my server.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#247966 - 01/15/12 03:29 AM Re: File Attachment Size [Re: Gizmo]
Outdoorking Offline
enthusiast
Registered: 06/05/06
Posts: 265
Loc: Sydney, Australia
Gizmo,

So what you are saying is to change the top line in php.ini which is the memory and the second line add 60. Is this correct?
_________________________
Regards,

Bruce
www.outdoorking.com
Top
#247971 - 01/15/12 02:29 PM Re: File Attachment Size [Re: Outdoorking]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, the line will vary in placement in your php.ini... Don't chance "the first line" change "the value of" both of the definitions...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#247973 - 01/15/12 02:39 PM Re: File Attachment Size [Re: Outdoorking]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Don't forget that there is also another setting in php.ini called
post_max_size
I mention this because of the large file size mentioned.
If you allow a user say two attachments per post.
Then the setting would need to be 40mb times 2 or 80mb.
Again a timeout issue.
_________________________
Blue Man Group
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image