The default upload file size is in php settings is 2 MB and for wordpress also default upload size is 2 MB.
When we try to upload big size image or media files in wordpress we got the following error
The uploaded file exceeds the upload_max_filesize directive in php.ini
For fixing the issue use following steps
Use the php.ini file from root folder.
1. Find this line in the php.ini file in your php installtion upload_max_filesize = 2MB and replace it with a higher value (e.g. upload_max_filesize = 64MB)
2. Search for this line in your php.ini file post_max_size and increase it.
If you don’t have a php.ini file in your directory,
you can usually generate one from the control panels of your host. or create the file and put following values in that
memory_limit = 32M
upload_max_filesize = 100M
upload_max_filesize = 100M
post_max_size = 100M
This file is copied into your wp-admin folder, the problem should be solved.
Incoming search terms:
- wordpress upload_max_filesize
- upload_max_filesize wordpress
- upload_max_filesize του php ini wordpress
- the uploaded file exceeds the youtube upload_max_filesize directive in php ini
- The uploaded file exceeds the upload_max_filesize directive in php ini wordpress
- solve the uploaded file exceeds the upload_max_filesize directive in php ini
- post_max_size youtube android
- post_max_size wordpress plugin
- increase upload_max_filesize
- how to increase upload_max_filesize
- how to change upload_max_filesize in wordpress
- fix the uploaded file exceeds the upload_max_filesize directive in php ini wordpress







Pingback: wp-popular.com » Blog Archive » How to increase the upload_max_filesize in WordPress | Developer Code book
Thanks a million, it worked for me.