search
Log In
Welcome to BlogiesTools Ask, a platform where beginners and professional bloggers come to seek answers from other bloggers’ experiences.

You can register and login to ask or answer a question or do it anonymously without logging in.

You can ask questions related to starting a blog, monetizing a blog, marketing a blog, managing a blog, fixing a problem, best tools to use, etc.

Ask a Question

0 votes
I have tried to import a file in WorPress and I got this error

Sorry, there has been an error.

The uploaded file exceeds the upload_max_filesize directive in php.ini.

How do I fix it
in Fixing Blog Problems

1 Answer

0 votes

To increase maximum upload in PHP INI, follow the procedure below.

Solution 1

  • Login into your cPanel
  • Go to MultiPHP INI EDITOR
  • Scroll to upload_max_filesize  
  • Increase the maximum size of an uploaded file to what you want  
  • Then click Apply button

Solution 2

If you are not using cPanel then use this solution.   

  • Log in using your FTP credentials 
  • Go to File Manager  
  • Then Public_html 
  • Open the php.ini file 
  • Increase the upload_max_filesize to your preferred number  
  • Save Changes
11.7k points

Related questions

0 votes
1 answer
I want to run a custom Php script in WordPress posts and pages. Is it possible to do so without using the functions.php file?
asked Nov 4 in WordPress Problems anonymous
0 votes
1 answer
I want to enable canonical URL in mediawiki so that the original URL is identified
asked Nov 8 in Fixing Blog Problems anonymous
1 vote
1 answer
How do I add expires HTTP headers to my WordPress blog without using a plugin
asked Nov 10 in Blog Optimization anonymous
0 votes
1 answer
I need to display a featured image on my WooCommerce product category pages
asked Nov 5 in WordPress Problems anonymous
0 votes
1 answer
I am looking for ways to disable lazy load in a specific image in visual composer
asked Nov 4 in WordPress Problems anonymous