xampp - Lame conversion works in CMD but not in PHP -
exec("lame audio.mp3 audio.wav")
similar questions didn't helped.
this command should executed via php.
- the audio.mp3 file presents in directory , no permission issues.
- lame encoder present at:
c:\program files (x86)\lame
. path added system environmental variables path. - lame command works in cmd, displays version 3.99.3. (this means lame installed , added path properly).
- the php file present in folder d:\xampp\htdocs\demo.php. executing
lame audio.mp3 audio.wav
via cmd in directory d:\xampp\htdocs runs , mp3 file converted wave file without issue.
the php exec alone not working. missing?
edit: error.log file have following error:
'lame' not recognized internal or external command, operable program or batch file.
Comments
Post a Comment