Find us on Facebook

LightBlog
Responsive Ads Here

Thứ Bảy, 24 tháng 2, 2018

The uploaded file exceeds the upload_max_filesize directive in php.ini

Question:
[ Moderator note: moved to Fixing WordPress. ]
Hey,
I want to upload and install a plugin and the size of the plugin is 6 MB. But as I click the install now button WordPress gives an error.
“The uploaded file exceeds the upload_max_filesize directive in php.ini”.
Please Help.
Answer:

1. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 128M
2. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M to your .htaccess file.
3. If neither of these work, it’s time to ask your hosting provider to temporarily increase PHP’s memory allocation on your account.
(in the above examples, the limit is set to 128MB)
See also: How do I Import a WordPress WXR file when it says it is too large to import?

Không có nhận xét nào:

Đăng nhận xét