One of our clients has a big Power Point presentations he wanted to upload, to his website.
he tried changing the limits to 4M file-size using
/admin/settings/uploadsBut he failed, and got a long error message from Drupal, saying:
Your PHP settings limit the maximum file size per upload to 2 MB.
Depending on your server environment,
these settings may be changed in the system-wide php.ini file...
The solution is to:
find out where php.ini is by typing:
echo "<?php phpinfo(); ?>"|php |grep Configurationthen, edit php.ini , and increase the value of parameter
upload_max_filesizeIt is also recommanded to increase the value of
post_max_sizeto the same value of
upload_max_filesize, and to increase significantly the value of
max_execution_timeIf you like to read more about it ,
here is a link to usefull article How do I increase my PHP file upload limit or change my php.ini settings?
Liked it? Have a Question on it?
Write a comment
The Devart Team










