PHP large file upload script not working?

Asked By 20 points N/A Posted on -
qa-featured

My PHP large file upload script not working specifically if the size exceeds 2 MB. When I click the button it just don’t do anything. But for files less than 2 MB it is working fine. Anyone of you has experienced the same thing?

I don’t think the size is an issue.

SHARE
Best Answer by mwaiki salu
Best Answer
Best Answer
Answered By 0 points N/A #190356

PHP large file upload script not working?

qa-featured

Hi,

PHP usually specifies a default size of maximum 2 MB for upload functionalities. If you happen to have a file of more than 2 MB that you need to upload, then you have to edit some portions of your script.

Check out the link below, I believe it will be helpful in solving your problem https://www.w3schools.com/php/php_file_upload.asp.

Answered By 10 points N/A #190357

PHP large file upload script not working?

qa-featured

Hi,

Hope this will help you.

This is not a problem of PHP, this is server restriction. For an example if you have experience working with WAMP server in server configuration file itself mention maximum 5BM can upload. Therefore first look at the server configuration (normally this is named as httpd. conf) file and change the limitation.

Related Questions