Safe Mode

In order for LoadAVG to function you will either need to disable the php variable ‘safe mode’ or add a safe mode exclusion to your php.ini to allow logger.php to run on your server. Advanced users can do this by editing their php.ini and search for the variable, safe mode, and set it to off then restart apache.


; Safe Mode
; http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode
safe_mode = Off

To test that safe mode is off and the script is working you will need to try top execute the cron directly, similar to:

/PATH/TO/php /PATH/TO/logger.php