[eluser]Maxat[/eluser]
Hi,
I need a help with file upload size. Currently I can upload small size files, but when it comes to 5mb or more it doesn't upload anything. Can you please advise what can be done to fix this, cause i have already tried to change php.ini. Didnt help. Below my configurations.
Controller:
Code:
$config['upload_path'] = './reports/';
$config['allowed_types'] = 'gif|jpg|png|pdf|doc|docx|bmp';
$config['max_size'] = '0';
$this->load->library('upload', $config);
$this->upload->do_upload();
PHP.ini
Code:
; Maximum file size of post data that PHP will accept.
post_max_size = 200M
; Maximum allowed file size for uploaded files.
upload_max_filesize = 200M