Server recommendations

If you are unsure of how to configure these settings, please contact your hosting provider.

Recommended

PHP configuration limits

Setting Value
max_execution_time 180
memory_limit  256M
post_max_size 32M
upload_max_filesize 32M

max_input_vars 2000+

WordPress memory limit

define( 'WP_MEMORY_LIMIT', '256M' );

WordPress memory can be different from the server – you need to set this regardless of server memory settings

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Related official WordPress and Woocommerce docs