I am running the exec function to run a command on the box, which returns the current Exim queue size.
Code: Select all
$queue_size = exec('exim -bpc');sh: exim: command not found.
Does anyone know what this means.? I understand something can't find the exim command, but I don't know what as this works perfectly from the command line.
Thanks in advance