|
![](/i/fill.gif) |
On Thu, 19 Jul 2012 10:20:06 +0100, Invisible wrote:
> Interestingly, the documentation claims that all CGI scripts must begin
> with a shebang and must have execute permissions. For at least PHP, this
> is clearly untrue...
That's because with apache, php is something it knows about with mod_php*,
so it calls scripts with the php* extensions with the php processor.
But php script does accept a #!/path/to/executable at the start as well,
and if the path is right and the script is executable, it'll work as Perl
or any other scripted *nix language.
Jim
Post a reply to this message
|
![](/i/fill.gif) |