Hi there!
Thanks for informing me.
Regarding the DFEHC_MAX_SERVER_LOAD, it’s still a valid function that works just fine. The plugin makes use of it as it needs to be compatible with older and newer server software. As soon as a future version of PHP will be announced that won’t support it anymore, I will make sure that the plugin will be updated as well.
It looks like your setup might either be incompatible or you have a firewall blocking additional data like the server load from being fetched.
Can you kindly let me know your current server setup? As well as do you have additional plugins installed that might control the heartbeat and your PHP version? Please create and post a link to yourphpinfo(); output
Looking forward to hearing back from you!
please help me check. Thank you
https://1ktut.com/info.php
Thank you for the additional information:
Based on the list of disable_functions you provided in https://1ktut.com/info.php, it appears that several functions related to system and process execution are disabled or restricted in your PHP configuration. This means that the sys_getloadavg() function may be disabled as well, as it falls under system-related functions.
Since you don’t have access to functions like system, passthru, shell_exec, etc., it is likely that you won’t be able to use sys_getloadavg() it directly.
If you have access to the PHP configuration file (php.ini) or a local .htaccess file, you can modify the disable_functions directive to remove the functions you want to enable. Locate the disable_functions line and update the functions needed.
From:
disable_functions = system,passthru,shell_exec,escapeshellcmd,dl,show_source,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Change it to:
disable_functions = dl,show_source,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid
This should resolve your issue. For any other questions feel free to reply to this thread!
thanks for your support. I’ll try it out. Best regards
@tvphuong41 Just a small update. The new plugin version should work for you now even in more restrictive environments. Hope it helps you now!