[CentOS] associate .php file with php

Mon Aug 22 17:39:10 UTC 2005
Jeff Stacey <Jeff.Stacey at jri.ca>

put 

#!/usr/bin/php

at the top of your php script.

*
Jeff

>>> mikerocks65 at yahoo.com 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 at centos.org 
http://lists.centos.org/mailman/listinfo/centos