Support » Plugin: NextScripts: Social Networks Auto-Poster » Getting error about PHP Memory, even though it’s enough

  • Resolved eli0086

    (@eli0086)


    I’m getting the error “Not Active! Not Enough Memory allowed for PHP.
    You have 32 MB. You need at least 64MB.” even though I’ve changed these settings in php.ini and have verified that the website is running on 512M of memory. I’ve verified this through a php.ini check, as well as other ways that our site is set up to see the server configuration.

    I also added the line to the wp-config.php file just in case it’s somehow not being read through the php.ini file.

    Is there something I’m missing here?

    Error screenshot:
    https://cl.ly/31d52efbb6b2

    php.ini confirmation of memory setting:
    https://cl.ly/31d52efbb6b2

    Any help with this would be greatly appreciated. Thank you!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author NextScripts

    (@nextscripts)

    Please see the answer in the FAQ – #1.6:
    https://www.nextscripts.com/support-faq/#a16

    Plugin uses this function to detect the memory: $memory_limit = ini_get(‘memory_limit’);

    If function ini_get(‘memory_limit’) returns 64 or more, it will work otherwise it will show the message.

    You might need to restart your web-server after you change the memory limit.

    Thread Starter eli0086

    (@eli0086)

    Since the site is on shared hosting, there wasn’t really an option to restart the server. However, I noticed that the client was running an older php version. so I upgraded the php version to 7.1 for now and for whatever reason ended up clearing the error message on the plugin.
    Thanks for your help.

    It happened with me as well. I have a PHP 7.2 site running. PHP memory is 512MB. WP memory in WP Config is 96MB.

    NextScript was working fine till one hour ago. Without any system change or Plugin upgrade, it just disappeared with this memory message. I updated wpconfig memory to 128. Still the same error.

    Eventually I tried php 7.1 with the same result. Setting php to 7.0 fixed the problem.

    So there is some compatibility issue with php 7.x

    NextScripts: SNAP Pro Upgrade Helper
    Version 1.5.9

    NextScripts: Social Networks Auto-Poster
    Version 4.3.3

    • This reply was modified 4 years, 9 months ago by Adnan Khan.
    Thread Starter eli0086

    (@eli0086)

    Hmmm…. it still seems to be working for me on PHP 7.1.26. However, I’m not using the NextScripts: SNAP Pro Upgrade Helper, only the Networks Auto-Poster.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting error about PHP Memory, even though it’s enough’ is closed to new replies.