put #!/usr/bin/php at the top of your php script. * Jeff >>> mikerocks65@xxxxxxxxx 8/22/2005 12:33 PM >>> My php scripts will only run from bash if I run php followed by the script name. Some how I remember having had this setup where it would recognize it was a php file by just running the script itself ex - scriptname.php. Can someone refresh my memory to tell me what I need to change so it runs just by typing the script name? thx centos 3.5 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos