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.
phpinfo()? – David Foerster Mar 06 '17 at 15:51/etc/php/7.0/apache2/php.ini. 2.post_max_sizemust be bigger thanupload_max_filesize. 3. Are you sure that.htaccessfiles are allowed for this virtual host - is thereAllowOverride Alldirective for this<Directory>?