Ankur Saxena
Ankur Saxena

Reputation: 639

upload and unzip large size file in php

how can i upload and unzip large size file such a size 30-35mb.what is limitation of file size on server. when i upload zip file of 32mb it's show

The connection was reset

The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

my code is available on this link how to unzip uploaded zip file?

Upvotes: 0

Views: 478

Answers (1)

Louis Huppenbauer
Louis Huppenbauer

Reputation: 3714

There is a setting called upload_max_filesize in PHP. You will have to change that value.

EDIT:

As lanzz mentions below there is another relevant setting called post_max_size which limits the maximum amount of POST data which will be processed / may be sent by/to PHP.

Upvotes: 1

Related Questions