Running PHP scripts within the cron environment can be tricky!
A common technique for executing PHP scripts from a cron job is to use a command line utility like curl or wget to execute and subsequently retrieve the output of the script. Using this method, the command in your cron job would look like this:
wget http://domain.tld/script.php