• Resolved gameslopedy

    (@yiggory)


    Ive increased the memory limit value from 64M to 128M and when I looked up into Bulletproof Sec. > System Info the message says:
    PHP Actual Configuration Memory Limit: The Memory Limit value is not available from your Server.

    Why?

    Before the changing; it was showing to a recommendation about increasing it to 128M from 64M.

    The site: Link (NSFW)
    Using: Godaddy Shared Hosting
    Wordpres: 4.3.1

    https://www.ads-software.com/plugins/bulletproof-security/

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

    (@aitpro)

    Hmm that is odd. How did you increase the maximum memory limit?

    Plugin Author AITpro

    (@aitpro)

    Go Daddy allows a maximum of 128M for the memory limit setting in a php.ini or php5.ini or .user.ini file depending on which hosting type (cPanel or web classic) you are using: https://www.godaddy.com/help/what-filename-does-my-php-initialization-file-need-to-use-8913

    Looking at the total number of things (plugins, etc) https://builtwith.com/vintagepornbay.com that you have installed on this site, you definitely need the maximum 128M memory limit setting allowed by Go Daddy. 64M is not going to run all of the things that you have installed consistently very well.

    Thread Starter gameslopedy

    (@yiggory)

    Hmm that is odd. How did you increase the maximum memory limit?

    I just called godaddy support and they said: cpanel>Select PHP Version > Memory Limit.

    So, I just changed it to 128M.

    But now PHP Actual Configuration Memory Limit: The Memory Limit value is not available from your Server. shown on system info of bulletproof plugin.

    Plugin Author AITpro

    (@aitpro)

    Ok create a phpinfo file and check your actual memory limit.

    Create a php file named 789345.php
    Add this code in it

    <?php
    phpinfo();
    ?>

    Upload the file to your website root folder.
    Enter this path in your Browser: example.com/789345.php
    Scroll down and look for: memory_limit
    You will see 2 columns: Local Value and Master Value
    Both the Local Value and the Master Value should be 128M

    Thread Starter gameslopedy

    (@yiggory)

    Okay it shows what you have asked.(on our php info file)

    So, now?

    FIXED. Is it?

    Plugin Author AITpro

    (@aitpro)

    fixed? Your memory limit was 64M and is now 128M so if that is what you mean by fixed, then yes you have successfully changed your memory limit from 64M to 128M.

    Thread Starter gameslopedy

    (@yiggory)

    Yes it shows 128M for both the Local Value and the Master Value.

    Plugin Author AITpro

    (@aitpro)

    If you are still wondering why BPS cannot get your memory limit on the System Info page then the message states that already: “The Memory Limit value is not available from your Server” which means that your server is not populating the memory limit configuration value so there is nothing to get from your server. Or in other words, the php memory limit configuration value is blank.

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

    Gets the value of a PHP configuration option

    get_cfg_var('memory_limit');

    Plugin Author AITpro

    (@aitpro)

    Assuming all questions have been answered – thread has been resolved. If the issue/problem is not resolved or 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.

    Thread Start Date: 11-2-2015 to 11-3-2015
    Thread Resolved/Current Date: 11-5-2015

    This was very helpful btw – I really appreciate it. I am in the process of moving a blog to GoDaddy because it’s the best choice for the client and installing my pro version of bulletproof and also saw the memory message. Being able to refer to this thread got me on the right track while waiting through the stone age for an agent.

    In case it helps anyone, the feedback to do it through godaddy’s cpanel via the change php is the correct way to do it for that hosting service. Chanign to 5.5 or 5.6 ups the memory to 128 automatically. You can also click o the setting (even though it is gray) and change it. Sypport recommended not setting the memory for php any higher than 50% of the maximum allocated memory to protect site from being crashed by a runaway php script. This is all proactive, haven’t finished the reinstall yet, but wanted to post when fresh.

    Maybe someone come in handy:
    cPanel > section Software/Services > Select PHP Version menu.

    screenshot

    works for godaddy hosting

    • This reply was modified 8 years, 4 months ago by massenjoy.
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘"The Memory Limit value is not available from your Server"’ is closed to new replies.