How to Increase PHP Memory In WordPress?

by 6 replies
7
Hello Warriors,

I am New in WordPress, Recently I saw a massage in my site about Fatal Error, I search in Net and I saw that I have to increase php memory in my WP blog. And I and I have to add the code "define('WP_MEMORY_LIMIT', '64M');"in wp-config.php. But I am not understand in wp-config.php where I have to add the code?
Can anyone help me Please please.?

I would be grateful if any one tell me about the matter please.
#website design #increase #memory #php #wordpress
  • Anywhere... put it somewhere around line #82, BEFORE the line that says:

    /* That's all, stop editing! Happy blogging. */
    • [1] reply
    • Dear Sir,

      I place the code according to your said instruction but it is not working.
      Should I remove some plugins from FTP?
      Will it harm my site or anything will be missing?
  • Probably you should also increase this into your web hosting account php.ini file (if you have a shared hosting account).
  • [DELETED]
  • If you added the line you mentioned in the first post but it didn't work, you need to contact your web host.
    • [1] reply
    • I have contact with my Hosting company, They said that they are unable to increase php memory.
      I think that's mean the memory is fixed.'However, Is there any alternative way to increase memory?
      Or If I try to increase it then will it harm my site?
      Please suggest me please.
      • [1] reply
  • [DELETED]

Next Topics on Trending Feed

  • 7

    Hello Warriors, I am New in WordPress, Recently I saw a massage in my site about Fatal Error, I search in Net and I saw that I have to increase php memory in my WP blog. And I and I have to add the code "define('WP_MEMORY_LIMIT', '64M');"in wp-config.php. But I am not understand in wp-config.php where I have to add the code?