How to Change File Size in Php
description
how to change file size in php
Transcript of How to Change File Size in Php
How to change file size in Php
You need to set the value ofupload_max_filesizeandpost_max_sizein your php.ini :; Maximum allowed size for uploaded files.upload_max_filesize = 40M
; Must be greater than or equal to upload_max_filesizepost_max_size = 40MAfter modifying php.ini file(s), you need to restart your HTTP server to use new configuration.If you can't change your php.ini, you're out of luck. You cannot change these values at run-time; uploads of file larger than the value specified in php.ini will have failed by the time execution reaches your call toini_set.