Welcome Guest, Not a member yet? Register   Sign In
large attachment cannot be sent using codeigniter
#3

(02-24-2018, 05:11 AM)InsiteFX Wrote: Try one of these:

Code:
php.ini

Both of these need to be set to the same size and larger then upload_max_filesize

; Maximum meory size.
memory_limit = 256M

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

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



.htaccess:

php_value memory_limit 256M
php_value post_max_size 2560M
php_value upload_max_filesize 128M


user.ini

ini_set('memory_size', '256M');
ini_set('post_max_size', '256M');
ini_set('upload_max_filesize', '128M');

ini_set('max_input_time', 300);
ini_set('max_execution_time', 300);

Hi InsiteFX, thank you for the answer. But where is user.ini?
Reply


Messages In This Thread
RE: large attachment cannot be sent using codeigniter - by squashking - 02-25-2018, 04:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB