I have the following settings in php.ini
:
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 300
My .htaccess
file is empty and there is no function about uploading file size.
But still I can not upload file larger than 1MB. It gives HTTP error. (p.s. Page shows the maximum upload file size 100MB as I set, but not upload more than 1MB. Gives http error)
What may be the issue and how can I resolve it?
.htaccess
file: where is that very.htaccess
file located? It will be very strange if that were to be in the same directory as your WordPress project! Is it a WordPress Multisite? You may want to check this.php.ini
? You should be able to see which is loaded withphpinfo();
. Did you restart the webserver after the changes were made? Is this a multisite?