pTutorial

New way to learn Programming

How To Increase Upload File Size In PHP

how to increase upload file size in PHP

if you want to increase upload file size in PHP. You can simply do this by modifying the php.ini file. You need to set the value of upload_max_filesize and post_max_size in your php.ini. See the example below

PHP.ini File

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M

; Must be greater than or equal to upload_max_filesize
post_max_size = 40M

See Also


QUOTES OF THE DAY

Knowledge without integrity is dangerous and dreadful.

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER