I am executing a gpg command through system() function from a php script.
The error I am getting is "Sorry, no terminal at all requested - can't get input" because (I think) there is no tty associated with the bacground process triggered from the script.
What do I have to do to get it working?