Why not change upload_max_filesize?

It is necessary to increase the maximum amount of the uploaded file from 2M to 8M.
  • Ubuntu 16.04
  • php 7.0.8
  • apache 2
  • MODX Revo 2.5.2

Change the values in /etc/php/7.0/apache2/php.ini (changed it because "Loaded Configuration File")
php -ini | grep max
post_max_size => 8M => 8M
upload_max_filesize => 10M => 10M

In phpinfo() in admin interface:
It is strange that post_max_size has changed, but the upload_max_filesize
service apache2 restart - values have not changed
reboot - didn't help
July 2nd 19 at 13:56
0 answer

Find more questions by tags PHPMODXUbuntu Server