Re: Re: [PHP] Execute permission question
| From: | Tim Streater | Date: | Fri, 28 Oct 2011 15:27:00 +0000 |
| Subject: | Re: Re: [PHP] Execute permission question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315497@lists.php.net to get a copy of this message | ||
On 28 Oct 2011 at 16:01, Tedd Sperling <tedd.sperling@gmail.com> wrote:
> On Oct 27, 2011, at 7:49 PM, Daniel Brown wrote:
> But does having execute permissions set on a script affect the scripts ability
> to run shell commands?
No, as Dan has said. But if you have a file called wiggy, containing the following:
#!/usr/bin/php
<?php
echo "Hello World!\n";
?>
then you can run it at the command line by typing its name at the prompt - but wiggy will need to
have execute permission set.
--
Cheers -- Tim