calling cepstral from php on os x
Posted: Thu Mar 29, 2007 4:38 am
I'm trying to call swift from php using exec on a mac os x machine, however it's not working. I've tried via the terminal and it works fine?
Any ideas? (It's still a trial)
The code I'm using from php is
which doesn;t produce anything, yet from the terminal it works fine
Any ideas? (It's still a trial)
The code I'm using from php is
- Code: Select all
<?php
exec('/usr/bin/swift -n Callie -o /Users/ollie/Sites/dev/test.wav -m text', $output, $return) ;
echo '/usr/bin/swift -n Callie -o /Users/ollie/Sites/dev/test.wav -m text<br />';
echo $output.'<br />';
echo $return.'<br />';
print_r($output);
echo '<br />';
print_r($return);
?>
which doesn;t produce anything, yet from the terminal it works fine
- Code: Select all
/usr/bin/swift -n Callie -o /Users/ollie/Sites/dev/test.wav -m text