简体   繁体   中英

PHP upload_max_filesize doesn't change

I'm trying to change the php config for upload_max_filesize on my server (LEMP Stack).

In phpinfo I can see:

Loaded Configuration File:  /etc/php/7.2/fpm/php.ini

I've changed upload_max_filesize to 256M in this file.

Then I've restarted by running this command: systemctl restart nginx .

The problem is that when I check my phpinfo it hasn't changed... .

您必须重新启动php-fpm服务才能使更改生效:

systemctl restart php7.2-fpm.service

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM