• Resolved jeffersonpowers

    (@jeffersonpowers)


    On a few websites (all with the same hosting company) I’ve started seeing the following error message when I follow the link to set up the auto-whitelist BPS feature:

    Error: Your PHP Configuration Memory Limit is set to: 32M

    For one of the sites, I had the host increase the PHP limit to 64MB, but BPS is still giving me the error message. phpinfo() tells me that the master php limit is 32, but the local limit is 64, and the hosting company says the master limit of 32 is hard-coded an can’t be changed. Is BPS reading that master limit instead of the local one, or is something else going on?

    Thanks in advance for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AITpro

    (@aitpro)

    The System Info PHP Configuration Memory limit check is checking your servers default php.ini file settings using: get_cfg_var('memory_limit');. So you can ignore that value since you know that your website actually has 64M available.

    http://php.net/manual/en/function.get-cfg-var.php

    [EDIT by danbrown AT php DOT net: The author of this note means that ini_get() will return values set by ini_set(), .htaccess, a local php.ini file, and other functions at runtime. Conversely, get_cfg_var() will return strictly the server php.ini.]

    Plugin Author AITpro

    (@aitpro)

    Assuming all questions have been answered – the thread has been resolved. If you have additional questions about this specific thread topic then you can post them at any time. We still receive email notifications when threads have been resolved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘BPS reading master PHP memory limit instead of local PHP memory limit’ is closed to new replies.