I'm trying to run the following command from a PHP file in a web browser:
exec('festival --tts /var/www/test.txt &');
Unfortunately, nothing happens. I thought of trying 'echo' but there is nothing to return to see if the command is working. I set permissions for test.txt to 777. I also ran the command in a shell and it works just fine - just not when submitted by a PHP script. What am I doing wrong?