I’m trying to upload a XML file through WordPress Importer
It shows this error, no matter what the size of the file is.
Even 10kb file throws up this error.
My php.ini settings were set to 100MB, still no change. Back to defaults, wich is 8MB.
I’m starting to think it’s permission related.
Any ideas?
You need to make the following changes in php.ini file on your server.
If still it’s same then update value of memory_limit.
Use
phpinfo()
to verify what the setting is. Some hosts do not allow you to change the PHP settings via php.ini. Some may require that you do it via .htaccess. If when you runphpinfo()
the value is different than the 100MB you set it to via php.ini then there’s a good chance this is the case.Look through your host’s knowledge base or give them a call and they can tell you their preferred method of changing PHP settings. Also, some hosts do not allow you to change certain settings in which case you’ll need to request that they make the change. They will be able to tell you this as well.
Hope this helps!