V
V
Viktor Yanyshev2016-11-27 12:30:47
PHP
Viktor Yanyshev, 2016-11-27 12:30:47

Why doesn't upload_max_filesize change?

It is necessary to increase the maximum size of uploaded files from 2M to 8M.

  • Ubuntu 16.04
  • php7.0.8
  • apache 2
  • MODX Revo 2.5.2

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

In phpinfo() in the admin panel:
19cd610c34e242499297e33dd8d6afc6.jpg
Strange that post_max_size has changed, but upload_max_filesize
service apache2 restart - занчения не изменились
reboot - тоже не помог

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question