• This took me a while to find out: when running under PHP 5.2, the plugin appears to run normally, but the reports are empty, no data gets recorded.

    After lots of research, simply upgrading the server to PHP 5.3 solved the issue.

    You may want to add this info at the top of the plugin description, or run a check after the activation.

    https://wordpress.org/plugins/p3-profiler/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Kurt Payne

    (@kurtpayne)

    P3 will work with PHP 5.2. It depends on your server API (abbreviated SAPI sometimes).

    The issue is with php’s register_tick_function function:
    http://www.php.net/manual/en/function.register-tick-function.php

    If you have a threaded SAPI, then it can misbehave in 5.2 and earlier. Unfortunately, it’s not easy to tell if the SAPI is threaded or not from within php. If any passersby have a correction or a code snippet that can help, please let me know.

Viewing 1 replies (of 1 total)
  • The topic ‘Needs PHP 5.3 to run properly’ is closed to new replies.