How to adjust max attachment size more than 1 M?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
alex.wu
Posts: 3
Joined: Wed Jul 12, 2017 7:58 am

How to adjust max attachment size more than 1 M?

Post by alex.wu » Wed Jul 12, 2017 8:11 am

I have tried to adjust max attachment size more than 1M via control panel but no use. Could anyone tell me how to modify the php code in order to support larger attachment. Thanks a lot. :D

Thorsten
Posts: 14455
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to adjust max attachment size more than 1 M?

Post by Thorsten » Wed Jul 12, 2017 9:50 am

Hi,

you have to change the setting in your php.ini file if there's a restriction, too.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

alex.wu
Posts: 3
Joined: Wed Jul 12, 2017 7:58 am

Re: How to adjust max attachment size more than 1 M?

Post by alex.wu » Wed Jul 12, 2017 9:57 am

Hi,Thorsten

First thank you for your kindly reply. I had changed php.ini with the configuration "upload_max_filesize = 32M" but no use. Could you give me further idea on this issue? Thanks so much for your help.

Kindly Regards
Alex

Thorsten
Posts: 14455
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to adjust max attachment size more than 1 M?

Post by Thorsten » Wed Jul 12, 2017 4:49 pm

Hi Alex,

did you restart your webserver?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

alex.wu
Posts: 3
Joined: Wed Jul 12, 2017 7:58 am

Re: How to adjust max attachment size more than 1 M?

Post by alex.wu » Thu Jul 13, 2017 1:21 am

Hi,Thorsten

I had restarted the http server(apache) but no use.

Kindly Regards,
Alex

Thorsten
Posts: 14455
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: How to adjust max attachment size more than 1 M?

Post by Thorsten » Tue Jul 18, 2017 10:02 am

Hi,

I re-checked the PHP manual, you need to change two values:

Code: Select all

post_max_size=20M
upload_max_filesize=20M
Sorry!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests