Wordpress upload size is 2mb

my wordpress upload is still 2mb , I have checked my php.ini settings in

/etc/php5/fpm/php.ini my max upload is 100M /etc/php/fpm/php.ini is also changed to 100M

but still the wordpress media upload is 2mb where else do I need to change to get 100mb max upload size?

Hello @rnovino,

You can change upload limit size in three way

  1. Update php.ini file There are three settings within the PHP info file that are relevant to your upload limit. memory_limit = 100M upload_max_filesize = 100M post_max_size = 100M max_execution_time = 300

If you’ve tried the php.ini solutions, and none of them worked.

  1. Trying by editing .htaccess php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300

If all else fails, there is one more trick you can try.

3.WordPress Config File define(‘WP_MEMORY_LIMIT’, ‘64M’); add it in your wp-config.php file

Why the f**** would people try .htaccess tricks on Nginx servers?

In order to increase upload limit one needs to edit the appropriate php.ini. It seems you already got it done.

After that try rebooting your server, in order to restart all services (there are plenty of threads here about it, but a reboot will to the necessary magic).