Page 1 of 1

what is the size limit on pdf attachmens?

Posted: Thu May 23, 2019 2:49 am
by DWFII
I have the limit for attachment size set at 0 (zero) but some pdf attachments will not 'attach."

Tried to attach a pdf file of 62 MB. It appeared to upload successfully (although slow) but the attachment tab never cycled to allow me to place it inline.

I attached a pdf of 800kb and it worked fine.

One of my forum member PM'd me with a similar problem--when he tried to attach a pdf file he got an HTTP(?) error.

Re: what is the size limit on pdf attachmens?

Posted: Thu May 23, 2019 2:53 am
by stevemaury
Generally the php settings (NOT phpBB) will not allow file uploads of more than 2 to 8 MiB. Look in the ACP, PHP Information, for upload_max_filesize. Other settings may affect it, too. There is no difference between pdf and any other file type.

Re: what is the size limit on pdf attachmens?

Posted: Thu May 23, 2019 3:26 am
by DWFII
Thank you...my upload_max_filesize says 64M

Re: what is the size limit on pdf attachmens?

Posted: Thu May 23, 2019 1:33 pm
by DWFII
stevemaury wrote:
Thu May 23, 2019 2:53 am
Generally the php settings (NOT phpBB) will not allow file uploads of more than 2 to 8 MiB. Look in the ACP, PHP Information, for upload_max_filesize. Other settings may affect it, too. There is no difference between pdf and any other file type.
Since my max_upload_filesize is 65M and the pdf I tried to attach was below that limit, is there some other possible factor that is creating this problem?

Re: what is the size limit on pdf attachmens?

Posted: Thu May 23, 2019 2:36 pm
by Prosk8er
DWFII wrote:
Thu May 23, 2019 1:33 pm
stevemaury wrote:
Thu May 23, 2019 2:53 am
Generally the php settings (NOT phpBB) will not allow file uploads of more than 2 to 8 MiB. Look in the ACP, PHP Information, for upload_max_filesize. Other settings may affect it, too. There is no difference between pdf and any other file type.
Since my max_upload_filesize is 65M and the pdf I tried to attach was below that limit, is there some other possible factor that is creating this problem?
whats your post_max_size set to should also see it under php information

Re: what is the size limit on pdf attachmens?

Posted: Thu May 23, 2019 2:46 pm
by stevemaury
Also, execution times can affect this.

Re: what is the size limit on pdf attachmens?

Posted: Thu May 23, 2019 3:01 pm
by DWFII
Prosk8er wrote:
Thu May 23, 2019 2:36 pm
Since my max_upload_filesize is 65M and the pdf I tried to attach was below that limit, is there some other possible factor that is creating this problem?
whats your post_max_size set to should also see it under php information
[/quote]

64M...thanks