I wanted to import a Wordpress eXtended RSS (WXR) file into my blog which is 8MB, but the limit on my blog is just 2MB.
I could have updated my php.ini but that's too complicated.
Better to temporarily update the htaccess file by adding the following snippet:
#Change upload limits
php_value memory_limit 34M
php_value post_max_size 33M
php_value upload_max_filesize 32M
php_value max_execution_time 600
#Change upload limits end
then I was able to upload my wordpress import file.
:)
No comments:
Post a Comment