Last update at :2024-07-06,Edit by888u
WooCommerce is a highly used plug-in in WordPress. The plug-in allows a simple blog to have complete e-commerce functions, and is therefore welcomed by many customers who want to build independent e-commerce sites and go overseas. However, some users find that WooCommerce has insufficient memory during use. How to solve this problem?
We need to modify the WordPress memory limit to make WooCommerce run more smoothly.
WordPress’s default PHP memory limit is 40MB, and WooCommerce’s minimum server memory requirement is 64MB, which may cause your WooCommerce website to process information slowly, search, product uploads, etc.
Today I will teach you how to modify the WordPress memory limit to make WooCommerce run more smoothly.
Open your wp-config.php file (WordPress configuration file)
Use FTP software or other methods to access your WordPress files. You can find the wp-config file in the root directory of your WordPress website, download it locally, or edit it online.
Add the following code
define('WP_MEMORY_LIMIT', '1000M');
Note: Don't add this to the bottom!
You need to add to
[require_once(ABSPATH . 'wp-settings.php');] above.
Recommended site searches: website server rental, domain name batch query, cloud server rental, foreign virtual host, Taiwan server rental, filing information, domain name search, dual-line space, com domain name, German server,
发表评论