I have installed Moodle 3.2 on Ubuntu server 16.04. I am not able to upload files bigger than 2 MB . The error I get is:
enter code hereThe uploaded file exceeds the upload_max_filesize directive in php.ini.
I changed the entry in /etc/php/7.0/cli/php.ini to 800M. I also created an .htaccess file in Moodle directory with the following entries.
php_value upload_max_filesize 2097152000
php_value post_max_size 2097152000
php_value max_execution_time 6000
In spite of this I am not able to post any files greater than 2 MB in Moodle. Please suggest.