associate .php file with php

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



Considering the responses I guess I never did run them
from the command line since I never changed my php
code in the past.  All the scripts start off with
<?php

I suppose to keep my apache php scrips unchanged I can
just create a new file with what David listed below
and just include the apache php scripts.

Thanks guys.

--- David Thompson <thomas@xxxxxxxxxxx> wrote:

> "Jeff Stacey" wrote:
> >put 
> >
> >#!/usr/bin/php
> >
> >at the top of your php script.
> 
> ...and be sure the file is executable (mode 755 or
> similar).
> 
> Dave Thompson
> 
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

[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