you should add ``2>&1`` to have both the stdout and the stderr in the file (and avoiding to have it in the main output). PHP is more likely to output to stderr than stdout if the builtin webserver has an issue)