How To Increase PHP Memory Limit In WordPress?
You need to increase PHP Memory limit when you are Working with a large Theme like Marketplace Theme, Directory Theme. I don’t mean that you need to increase PHP memory limit in any Marketplace or Directory Theme but sometimes it needs to increase is a simple Theme too. It depends on Theme configuration and you server configuration.
It can be done with a plugin if you have permission to edit WordPress files from the Dashboard. This can be done with a plugin.
Increase PHP Memory Limit Via WordPress Dashboard
Download WP Config File Editor then install it and active it.
You will see an option named WPCF Editor in your Dashboard. Hover on this option and click on WPCF Editor.
Now you will see the option for customizing your PHP memory Limit. Put your desired value in Memory limit and Max Memory limit.
This is the easy method for increasing PHP memory limit.
But, if you don’t have permission for customizing config file from the Dashboard then you should follow the second step.
Increase Memory Limit Via FTP:
This is easy then Dashboard. Just need to put a code in your wp-config.php file. Copy the following code and paste it on your config file.
1 2 |
/** Memory Limit */ define('WP_MEMORY_LIMIT', '256M'); |
If you have still problem with it then you can watch the following video. I have showed you details and step by step guide for increasing PHP memory Limit in a WordPress Website.
Let’s Wrap Up!!!
I hope you have solved your Memory Limit problem. If you follow the Dashboard system then you may face problem sometimes with your server configuration. I recommend you to work with FTP and mind that what you are changing in your file. Though you work on dashboard please access your FTP for security. If you have done something wrong in Dashboard then you can fix it via FTP.