I have changed the following lines in
vi /etc/php/7.0/cli/php.ini
upload_max_filesize = 24M
post_max_size = 32M
I run
service nginx restart
and
systemctl restart php7.0-fpm.service
but it does not seem to update in my phpinfo - it still says 2M.
It's the wrong .ini
vi /etc/php/7.0/fpm/php.ini
this works.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.