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.

link|improve this question

50% accept rate
Do you get an error message? "Does not work" is not very informative. – Dennis Williamson Nov 25 '10 at 3:14
@Denis, Sorry about that, the thing is nothing happes really... just blank. – Trufa Nov 25 '10 at 3:18
feedback

1 Answer

up vote 4 down vote accepted

Either php isn't found or file.php isn't found. Use the full path, or "cd" to the folder where file.php is.

link|improve this answer
Thanks mankoff! It was exactly that! I had to 'cd' to the file. Thank you very much! – Trufa Nov 25 '10 at 3:33
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.