I'm running a php script by calling it form a C-program as one would call it from the command line.
/usr/bin/php -q /scriptdir/script.php
This works most of the time, but sometimes is fails and returns 127 as the return code. I have not been able to work out why this is, can anyone help?