I am having problems increasing my size limit to upload files into my wordpress site. I am running 18.04 on a vps server with with Nginx, MariaDB and PHP-FPM.
I checked php by making a file to call phpinfo()
It shows the location on the php.ini file (/etc/php/7.2/fpm/php.ini ) However after I edit it, and change the upload_max_filesize up, and restart the ngixn server, it does not change from 2M.
What am I missing?
FPM uses php.ini syntax for its configuration file - php-fpm.conf, and pool configuration files
You may add the directive to
php-fpm.conf
Insert a line (example for 10M)