im fighting all afternoon for find how to execute a bash on a script a friend give me (auto.sh)
inside the auto.sh i can read
- Code: Select all
#!/bin/bash
/usr/local/bin/php -c /usr/local/lib/php.ini -d display_errors=On /usr/local/script/auto.php $1 $2 $3
with cygwin i get the following error when i execute the script
./auto.sh line 2: /usr/local/bin/php :no such file or directory
could someone can give me the correct path to replace into the auto.sh please ?
thanks a lot