Learn Codeigniter

Increase File Upload Size In PHP

To increase file upload size, open the php.ini file and change the values of following directives to the desired value.

; Must be greater than or equal to post_max_size
memory_limit = 99M
;300 seconds = 5 minutes
max_execution_time =300
; Maximum allowed size for uploaded files.
upload_max_filesize = 90M
; Must be greater than or equal to upload_max_filesize
post_max_size = 90M