How to install CLI (.zip tar.bz2 tar.gz) in Laragon?


  • | 112 points

    I want to install SoX Sound Exchange CLI in my local environment. The download options for this command line interface are .exe, .zip, .tar.bz2, .tar.gz
    I'm guessing I need to save one of these in a particular location and create some kind of bat file to install it.

    I already have SoX installed on my computer, sox --version works, but exec('sox --version') returns "" when run in laragon.

    Can anyone help with this?


  • administrators
    | 123643 points

    @P-James : If you call from PHP, you should specify absolute path:

    exec('PATH-TO-SOX/sox --version');
    

  • | 112 points

    It's just that simple!
    Thanks!


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.