To find the path to PHP you can create a php page with the below code that will show the exact required path.
<?php echo exec("which php"); ?>
I ran this on mine and it output a path of /usr/local/bin/php which is running for me without issue.