Skip to main content

Changing Memory limit not taking effect

Comments

6 comments

  • psytanium
    I checked on the files php.ini located in usr/local/lib The values is correct, 256MB
    0
  • rpvw
    Do you need to restart Apache after making these changes ?
    0
  • twhiting9275
    What does your phpinfo page say? If that's not showing 256M globally, then you likely haven't restarted apache If it is showing 256M globally, but not locally, then you have a php.ini directive locally conflicting with that
    0
  • psytanium
    I did apache restart, no success. The phpinfo() output is 256MB (Local and Master) as I configure it from WHM.
    0
  • rpvw
    Look in your wp-config.php file if there is a line that reads
    define('WP_MEMORY_LIMIT', '64M').
    change it to your 256M (or whatever you want) - if it isn't there - add it :) I don't think this is really a cPanel issue, and a web search for "wordpress showing wrong php memory" would probably have helped you.
    0
  • cPanelMichael
    Hello, Yes, as mentioned, it's likely the result of a configuration value defined by WordPress, or a local php.ini file within the affected account. Thank you.
    0

Please sign in to leave a comment.