[ciapug] php interpreter errors

Jerry Weida ciapug@cialug.org
Mon, 12 Apr 2004 14:16:51 -0500 (CDT)


Did you `chmod +x test.php`


Ryan O'Rourke said:
> When trying to run the following php script from the command line, why
> does it work when I do:
> 	php test.php
> but not when I do:
> 	./test.php
> ??
>
> #!/usr/local/bin/php
> <?php
> $test =  "testing - testing";
> echo $test;
> ?>
>
>
> The error I get is ": bad interpreter: No such file or directory"
>
> Thank you.
>
> -- Ryan
>
>
> _______________________________________________
> ciapug mailing list
> ciapug@cialug.org
> http://cialug.org/mailman/listinfo/ciapug
>


-- 
Brian: You are all individuals!
crowd: We are all individuals!
Brian: You have to be different!
crowd: Yes, we are all different!
loner: Not me, I'm not different!