associate .php file with php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux