I have a test script which does following:
$a = shell_exec("sox /var/www/html/media/file-all.gsm -r 8000 -c 1 -e signed-integer /var/www/html/wav-files/file-all.wav");
Still does not work.
Any help appreciated.
Thanks
One possibility is, that the sox
command is not in the PATH used by apache user.
Specify the absolute path to sox
in your shell_exec()
call.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.