• In my WordPress page, I could not find any section for cPanel and wp-config.php to increase the PHP memory limit

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @soloukdar,

    To increase Memory limit, open the wp-config.php file and find this line use ctrl + f:

    define( 'WP_MEMORY_LIMIT', '96M' );

    Change 96M to up to 768M on all SiteGround shared hosting accounts.

    I found a “wp-config.php file” in a theme folder, but it did not have the “define( ‘WP_MEMORY_LIMIT’, ’96M’ );” line. Where should I find the file that includes the line you mentioned? or Is there a way I can add that line in a file? if so, where should I add this line?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to increase the php memory limit for wordpress in siteground’ is closed to new replies.