Page 1 of 1

/usr/local/bin/ equal ?

PostPosted: 22. February 2010 22:13
by DigitalGeek
Hello the community ,
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