Well, I’m not a linux expert. I read that one problem could be that the shell that runs the scripts didn’t find php5 in its paths and I included it, as it works when running it manually too.
Here are some suggestions which may offer some help in diagnosing this:
Try running the script using its absolute path from a directory other than your protected folder since the cron will likely not run with that as its pwd.