WordPress export exceeds maximum upload size
-
————–
I wrote:
————–
The process sent me a link to a zip file which I extracted. This resulted in two files. The first was 2,311 KB. The second was 1,019 KB.I then went to my new local site which currently has just the default content. I attempted to import the files. There was a message Maximum size: 2 MB. I selected the first file which again is 2,311 KB OR 2.3 MB. Attempting to import it gave me this error…
Import WordPress
Sorry, there has been an error.
The uploaded file exceeds the upload_max_filesize directive in php.ini.Why would this process create a file that is larger than the process allows to be used? More importantly, how do I get around the problem?
————–
James Huff wrote:
————–
The maximum upload size is controlled at the server-level, not by WordPress. Here are two ways you can increase the upload limit:1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 100M ; and post_max_size = 100M ;
2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size = 100M to your .htaccess file.
(in the above examples, the limit is set to 100MB)
————–
my response
————–I really appreciate the help.
There is no php.ini anywhere on my computer so I’m trying to modify the .htaccess file.
Both of my attempts caused a server error on my local site. I’ve tried stopping and restarting apache and mysql in xampp but that didn’t help. Here are my two attempts.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /tbcc/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /tbcc/index.php [L]
php_value upload_max_filesize 100M
php_value post_max_size = 100M
</IfModule># END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /tbcc/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /tbcc/index.php [L]
</IfModule>
php_value upload_max_filesize 100M
php_value post_max_size = 100M# END WordPress
- The topic ‘WordPress export exceeds maximum upload size’ is closed to new replies.