Mobile app version of vmapp.org
Login or Join
Megan663

: 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')

@Megan663

Posted in: #Wordpress

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?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Megan663

3 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

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.

10% popularity Vote Up Vote Down


 

@Sent6035632

Yes, you can. Depends memory limit on your hosting space. You can minimise and maximise memory limit using Php.ini file configuration.

10% popularity Vote Up Vote Down


 

@Jessie594

Go to Woocommerce > system status and it will tell you if the memory limit is optimal.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme