Log In
Welcome to Blogiestools Ask, a blogging community where beginner and professional bloggers come to seek answers from other bloggers’ experiences.

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

Register or log in to ask or answer questions.

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
15.1k 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, 2021 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, 2021 in Fixing Blog Problems anonymous
0 votes
1 answer
I have files that have been shared to me by other users, how do I delete them
asked Dec 31, 2021 in General anonymous
0 votes
1 answer
Is there an option of removing my myself from a canva team
asked Dec 31, 2021 in General anonymous
1 vote
1 answer
How do I add expires HTTP headers to my WordPress blog without using a plugin
asked Nov 10, 2021 in Blog Optimization anonymous