Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
Hi All,
I'm trying to run a php file for async reasons. The following works in a cron job but not when I call it from PHPRunner.
This code is inside a .php file:
function startmoderation(){ exec('php ./php/moderation.php > /dev/null 2>&1 &');}
Fatal error: Uncaught Error: Call to undefined function exec()
Any ideas? Thanks.
Exec is disabled by default in most php installations. Just enable it.
Thanks DRCR Dev, that fixed it.