For other people with centos 7, with difficulty in running cron, i have done this way:
Add the cron lines to etc/crontab
Last line do a enter to enter a blank line
And in the lines i add the root user before path like the example bellow.
0 0 * * * root php...