Error while uploading file larger than 2 Mb in WordPress
What is WordPress?
WordPress is free and open-source management system through you can use to create an attractive website or blog. It just may be the simple and most flexible blogging and website content management system (CMS) for the learner. WordPress is based on PHP.
It’s probably the simple and most strong blogging and website content management system in existence today through WordPress you can build and manage your own full-featured website using just your web browser.
What are the Advantages of WordPress?
1. WordPress is Open Source management system.
2. It’s user-friendly.
3. It’s flexible and extensible
4. WordPress is SEO-friendly.
5. Through Wordpress, you can control your own content.
To avoid this issue you have to increase memory_limit, post_max_size, upload_max_filesize limit as per your requirements.
How to increase the file upload size?
To increase the file upload size you need to follow below steps.
Steps 1: Login to cpanel.
Steps 2: Once you will login to cpanel you will get Select PHP Version option under SOFTWARE section.
Steps 3: Kindly click on Select PHP Version=>Once you will click on Select PHP Version, In right hand side you will get Switch To PHP Extensions option=>Click on Switch To PHP Extensions option=> After that you have to increase memory_limit, post_max_size, upload_max_filesize limit as per your requirements.
Step 4: Once it will be done click on Save button.