php - Cannot upload files bigger than 10MB -


i'm trying let user upload 30mb max server hangs not produce error. not error in browser network bar in inspection. did changes below after reading whole lot of info on internet no luck far. knows else can do?

thanks in advance

.htaccess:

<ifmodule mod_php5.c>     php_value post_max_size 40m     php_value upload_max_filesize 350m     php_value max_execution_time 1200     php_value max_input_time 1200 </ifmodule> 

/etc/php5/{cli,fpm}/php.ini

post_max_size 40m upload_max_filesize 35m max_execution_time 1200 max_input_time 1200 

restart:

sudo service php5-fpm restart sudo service apache2 restart 

one thing check maximum post size set in php suhosin security patch. complements settings in php.ini , might cause issues you're seeing. similar question here: https://serverfault.com/questions/486134/php-cant-increase-maximum-upload-limit

let me know if worked.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -