Forum

[SOLVED] Can't uplo...
 
Notifications
Clear all

[SOLVED] Can't upload greater files than 1m

6 Posts
2 Users
0 Reactions
2,787 Views
(@gls37)
Posts: 4
Active Member
Topic starter
 
[#6123]

Hi,
When i want to upload a file greater than 2M nothing append and the waiting circle turn indefinitely as you can see on the attachment

. I don't see anything in log's files.
Both php.ini and parameters.php are updated to a size of 20M.
Can you help me ?


 
Posted : 12 Jul 2019 3H04
(@babynus)
Posts: 14952
Member Admin
 

in php.ini, you must increase
- upload_max_filesize
- post_max_size
and don't forget to restart PHP to take changes into account.

Also parameter in projeqtor must be defined in bytes : 20M does not work, you must enter 20 971 520‬


 
Posted : 12 Jul 2019 10H41
(@gls37)
Posts: 4
Active Member
Topic starter
 

Thanks for your reply,
Yes, parameter in projeqtor is also defined in bytes with the value of 20 971 520.
"upload_max_filesize" and "post_max_size" are set to 20M.
I have already restarted services.


 
Posted : 12 Jul 2019 12H03
(@gls37)
Posts: 4
Active Member
Topic starter
 

I have increase loglevel to 4 but nothing is logged when i upload my file. just waiting indefinitely. Something must be wrong with my config but i don't know why.

My configuration is :
Nginx 1.14.2
PHP 7.2.19
Mysql 8.0.16

EDIT SUBJECT: Files bigger than 1M can't be uploaded (not 2M).


 
Posted : 13 Jul 2019 0H27
(@babynus)
Posts: 14952
Member Admin
 

Check for limitation defined in nginx.
(sorry I don"t konw much this http server and won't be able to help)


 
Posted : 13 Jul 2019 21H30
(@gls37)
Posts: 4
Active Member
Topic starter
 

Thanks for your help.
The limit was on Nginx and it's 1M by default !
I add the line "client_max_body_size 20M;"in my nginx.conf and it's ok now.


 
Posted : 14 Jul 2019 1H47
Share:

Scroll to Top