What is the maximum size of a file that can be uploaded
using PHP and how can we change this?

Answers were Sorted based on User's Feedback



What is the maximum size of a file that can be uploaded using PHP and how can we change this?..

Answer / amit aggarwal

By default it is 2Mb. But you can change this limitation in
php.ini file.There is a variable 'upload_max_filesize'

Is This Answer Correct ?    53 Yes 1 No

What is the maximum size of a file that can be uploaded using PHP and how can we change this?..

Answer / umapathi

2mb

Is This Answer Correct ?    31 Yes 5 No

What is the maximum size of a file that can be uploaded using PHP and how can we change this?..

Answer / abdul

For the above question few are mentioned 2MB is default and
if we want to change need to change in the variable
'upload_max_filesize at php.ini file, so when i have seen in
that file it is mentioned 128M means how much MB is default

upload_max_filesize = 128M

Is This Answer Correct ?    1 Yes 4 No

What is the maximum size of a file that can be uploaded using PHP and how can we change this?..

Answer / chourasia.rahul84

Its 32 Mb not 2 Mb

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More PHP Interview Questions

What is difference between sql and php?

0 Answers  


How is it possible to propagate a session id?

0 Answers  


What are the characteristics of php variables?

0 Answers  


What is composer used for?

0 Answers  


How to replace a text in a string with another text in php?

0 Answers  


i have a string and that string contains the alphanumeric value and i want to hide or semihide the 10 digit telephone number from the string.

0 Answers  


What is the difference between require and include in php?

0 Answers  


What is explode() in php?

0 Answers  


Why php is sometimes called as embedded scripting language?

0 Answers  


i got 2 year backs in my MCA,i am 28 year guy, presently learning PHP, can i get the job & on facing the interview wht i will answer out for that?? (experience in as a 1.5yr System analyst after graduation)

0 Answers  


Is null check in php?

0 Answers  


How can you get the size of an image in PHP?

0 Answers  


Categories