• Resolved irongenetics96

    (@irongenetics96)


    Under diagnostic Test your WordPress host’s available memory i get with php 7.2 and the newest wordpress version weird memory usage like “Your web host allows you to use at least 18.00 megabytes of memory for each PHP process hosting your WordPress site.” – Even when i have “WP_MEMORY_LIMIT WordPress memory limit 256M
    WP_MAX_MEMORY_LIMIT Administrative memory limit 256M”

    After 2 hours of debugging i started a fresh wordpress installation on a subdomain and this problem only appears while using PHP 7.2 – 7.1 works fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support wfphil

    (@wfphil)

    Hi @irongenetics96

    On the site where it only tests up to 18.00 megabytes of memory have you tried deactivating all other plugins and switched to a default WordPress theme such as Twenty Nineteen?

    The only explanation that we can think of is a theme or a plugin has an ini_set memory limit for that memory value somewhere.

    Thread Starter irongenetics96

    (@irongenetics96)

    With PHP 7.1 it goes up to normal 256 MB
    With PHP 7.2 in the test sometimes like to only 2 MB as seen in the screenshot below
    https://prnt.sc/oaegtz So it must be a bug from Wordfence. A Website with only 2 MB Memory could never work.

    And i tested this issue on a test subdomain with the default twentynineteen and none other plugins – same problem

    Plugin Support wfphil

    (@wfphil)

    Hi @irongenetics96

    Thank you for the update.

    Have you tried deactivating all other plugins and switched to a default WordPress theme such as Twenty Nineteen as instructed?

    Please follow my instructions as this will rule out a theme or a plugin that has an ini_set memory limit for that memory value somewhere.

    Thread Starter irongenetics96

    (@irongenetics96)

    On my Subdomain right now:
    PHP 7.2
    Plugins only activated: Wordfence
    Theme: TwentyNineteen

    Test your WordPress Host available memory:
    Current maximum memory configured in php.ini: 256M
    Current memory usage: 2.00M
    Attempting to set max memory to 256M.
    Starting memory benchmark. Seeing an error after this line is not unusual. Read the error carefully
    to determine how much memory your host allows. We have requested 256 megabytes.
    Tested up to 2.00 megabytes.
    Tested up to 2.00 megabytes.
    Tested up to 2.00 megabytes.
    Tested up to 2.00 megabytes.
    Tested up to 2.00 megabytes.
    Tested up to 2.00 megabytes.
    Tested up to 2.00 megabytes.
    Tested up to 2.00 megabytes.
    Tested up to 2.00 megabytes

    With PHP 7.1 the test is working fine…

    Plugin Support wfphil

    (@wfphil)

    Hi @irongenetics96

    Thank you for the clarification.

    We will look at making an improvement of this tool with newer version of PHP.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems with PHP 7.2 and newest WordPress Version’ is closed to new replies.