Just to put an example, in the Terminal:
php -f file.php
Works perfectly, when I try to use this in GeekTool it just does not work.
It works fine till:
php -f
Displaying the possible option, but when I write: file.php
it just doesn't work.