How to Increase Maximum Upload File Size in WordPress
Πώς να αυξήσετε το μέγιστο μέγεθος αποστολής αρχείου στο WordPress
While trying to list downloadable files in WordPress, I realized that the maximum upload file size was set at 8MB and my MP4 was 13MB in size. To fix this, I created a php.ini file in my wp-admin directory and added the following values:
upload_max_filesize = 32M
post_max_size = 32M
I recommend changing 32M to a value that is large enough to accommodate your uploads.
Note that some servers cache these files while others only recognizes php5.ini files. Which is why I recommend waiting at least 15 to 20 minutes for the changes to take effect after creating the php.ini file and if nothing happens, try renaming the file to php5.ini.
To see whether the size has changed, simply go to your ‘your WordPress admin panel > media > add new’ and look at the value that is displayed next to “Maximum upload file size”.