In order to use these utilities you need to ensure the 1st line in the file points to the path of the PHP executable on your system. By default this line is set to /usr/bin/php, if you PHP binary is somewhere else, modify the #!/usr/bin/php with the full path of your PHP binary.

For more info, read http://php.net/manual/en/features.commandline.php

