On Sun, Mar 23, 2008 at 1:42 PM, Andrew Ozz <[EMAIL PROTECTED]> wrote: > > Burhan Khalid wrote: > > On Sun, Mar 23, 2008 at 1:27 PM, Doug Stewart <[EMAIL PROTECTED]> wrote: > >> On Sun, Mar 23, 2008 at 6:12 AM, George Pearce <[EMAIL PROTECTED]> wrote: > >> > > Is there a way to increase the import file size limit for wordpress > xml > >> > imports? > >> > I think it's in the PHP memory limit, most hosts limit you to about > 2megs, I > >> > forget the exact amount. > >> > However, if you stick the following in the .htaccess file, it should > up the > >> > limiter. > >> > > >> > php_value memory_limit 50M > >> > > >> > You can change the 50m to whatever you like :) , although if you have > a > >> > shared host, you might want to check it's not against their TOS, but > for one > >> > upload, it should be ok. > >> > > >> > > >> > >> I don't think that's the issue at play here. WP used to enforce an > >> upper limit of 7MB on WXR files. I'm assuming it still holds true. > > > > So if I change this limit, will it cause any problems? The limit is 8 > > MB, my backup is 9.92 MB. > > You can split the xml in chunks between the posts, just paste the header.
After reading the code, I found out that its reading from the post_max_filesize php settings, so I just increased that and its now 20 MB. _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
