: WordPress and PHP memory limits I'm running a WordPress plan on bluehost servers! It's 1 Core with 2GB of RAM. PHP Memory Limit is set to 512MB and WordPress has: define('WP_MEMORY_LIMIT', '256M')
I'm running a WordPress plan on bluehost servers! It's 1 Core with 2GB of RAM.
PHP Memory Limit is set to 512MB and WordPress has:
define('WP_MEMORY_LIMIT', '256M')
Is this proportion OK?
I'm only running this WordPress website. Should I increase WordPress memory? Any thoughts on this?
More posts by @Megan663
3 Comments
Sorted by latest first Latest Oldest Best
Rather than defining it in wp-config.php, a php.ini file can allow you to set not only the memory, but also max_execution_time, file upload size, and other settings that frequently cause issues with WordPress themes. Make sure you kill the PHP processes (some cPanel dashboards offer it) for it to go into effect. Or you can toggle the PHP version to do the same effect.
Alternatively, you can also usually modify the limits in the PHP settings inside of cPanel, if that's what you're using (and that is what BlueHost uses) and just change the limits of what I mentioned above there without manually setting them in a php.ini file.
You can verify your settings have gone into effect by creating a phpinfo.php file with <? phpinfo(); ?> and then call that file from your browser to verify the new limits are in effect, as that will show all the PHP values for your hosting environment / account.
Yes, you can. Depends memory limit on your hosting space. You can minimise and maximise memory limit using Php.ini file configuration.
Go to Woocommerce > system status and it will tell you if the memory limit is optimal.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.