Wordpress Fix The Uploaded File Exceeds The Upload Max Filesize Directive In
Try to upload a WordPress theme or plugin, but it gave you an error: The uploaded file exceeds the upload_max_filesize directive in php.ini.
Hosting I’m using: https://punchsalad.com/lp/hostpapa/ (60% discount)
Where I get my domains: https://punchsalad.com/lp/namecheap-domain/
WP plugins I’m using: https://punchsalad.com/recommendations?utm_campaign=fixUploadMax&utm_medium=social&utm_source=youtube
PayPal tip jar: https://www.paypal.me/punchsalad
Some of the above links might be affiliate links.
And you can’t find this freaking php.ini?
No worries, I’ll show you how to fix this issue in a few minutes
try this video if the method in this video didn’t work: https://youtu.be/FTP8TVNf0yI
Steps to add php.ini to WordPress:
1. In Cpanel under “”files”” select “”File Manager””
2. In Public_html, create new file by pressing “”+ File”” sign in top left corner
3. Name the file php.ini and click save
4. Find php.ini in the folder, right-click it and choose “”edit”” and click “”edit”” again
5. In the text editor add following code:
memory_limit = 256M
upload_max_filesize = 50M
post_max_size = 50M
max_execution_time = 300
6. Click “”Save changes”” in the top right corner and close the window
7. Go to Cpanel, and scroll down until you find “”PHP Processes””
8. Click “”Kill Processes””
9. You can now install a new theme or plugin up until 50Mb, if you want it to be more, just increase the numbers in the code.
Where the heck is Cpanel? Check this: https://youtu.be/3WuGpsIIlc4
My website setup & recommendations: https://punchsalad.com/recommendations/
You’ll find more tutorials here: http://punchsalad.com
If you have any questions, leave me a comment below, I will be glad to help. I hope you liked this tutorial!
Source
The post WordPress fix: The uploaded file exceeds the upload_max_filesize directive in appeared first on Wordpress Tip Guide Support Solution.
Artikel ini hanyalah simpanan cache dari url asal penulis yang berkebarangkalian sudah terlalu lama atau sudah dibuang :
https://www.jonloh.com/wordpress-fix-the-uploaded-file-exceeds-the-upload_max_filesize-directive-in/