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.

  1. the audio.mp3 file presents in directory , no permission issues.
  2. lame encoder present at: c:\program files (x86)\lame. path added system environmental variables path.
  3. lame command works in cmd, displays version 3.99.3. (this means lame installed , added path properly).
  4. 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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -