lundi 17 mai 2021

Cannot run ant from apache localhost (ant: command not found)

I have setup my localhost on macOS big sur with apache and php (works fine). I now have a bash script that uses ant to build some source code, but I cannot run the ant command from within a bash script from the browser. I always receive ant: command not found. I can run the bash script from the terminal with my user and the webuser (_www) ant this works as intenden. But I cannot get it to work when I call the site from my browser. Any ideas?




Aucun commentaire:

Enregistrer un commentaire