How to Increase PHP Memory In WordPress?

6 replies
  • WEB DESIGN
  • |
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.
#increase #memory #php #wordpress
  • Profile picture of the author Istvan Horvath
    Anywhere... put it somewhere around line #82, BEFORE the line that says:

    /* That's all, stop editing! Happy blogging. */
    Signature

    {{ DiscussionBoard.errors[7263748].message }}
    • Profile picture of the author image2all
      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?
      Signature

      My Posts at: Quora | Vimeo | Tumblr | Storify | WordPress.com | Diigo | About.me

      {{ DiscussionBoard.errors[7273932].message }}
  • Profile picture of the author copilu0
    Probably you should also increase this into your web hosting account php.ini file (if you have a shared hosting account).
    {{ DiscussionBoard.errors[7274097].message }}
  • Profile picture of the author Kingfish85
    If you added the line you mentioned in the first post but it didn't work, you need to contact your web host.
    Signature

    |~| VeeroTech Hosting - sales @ veerotech.net
    |~| High Performance CloudLinux & LiteSpeed Powered Web Hosting
    |~| cPanel & WHM - Softaculous - Website Builder - R1Soft - SpamExperts
    |~| Visit us @veerotech Facebook - Twitter - LinkedIn

    {{ DiscussionBoard.errors[7276618].message }}
    • Profile picture of the author image2all
      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.
      Signature

      My Posts at: Quora | Vimeo | Tumblr | Storify | WordPress.com | Diigo | About.me

      {{ DiscussionBoard.errors[7288704].message }}
      • Profile picture of the author rhinocl
        What does your host say is the limit you presently have and what are you trying to do that you want more? If it is to upload directories and files that are too large use FTP and the 'Add fronm server' plugin.
        {{ DiscussionBoard.errors[7289285].message }}

Trending Topics