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@cs.wisc.edu 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@centos.org http://lists.centos.org/mailman/listinfo/centos
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs