On Tue, March 1, 2005 14:24, Rohan Romanus Almeida said:
> hello <[EMAIL PROTECTED]> wrote:
>>
>> returns an error "permission denied-failed to open
>> stream".i ran the following command "chmod 777
>> /var/www/html".but then also im getting the same
>> error.help me friends...
>>
>
> Why don't you post your script here. We may be able to help more.
>

i don't think the problem is with the script. chmod 777 /var/www/html
gives rwx permissions to the /var/www/html directory, but not to the
script. try chmod 777 to the script (e.g. chmod 777
/var/www/html/myscript.php) and see if it works. if yes, then the problem
is with the permissions otherwise other settings need to be checked

also, chmod'ing 777 to a script is not a very good idea, try doing 644
instead

o--------------------------------------------------o
| vivek  *  [EMAIL PROTECTED]  *  http://exain.net |
|        Registered Linux User: #305493            |
o--------------------------------------------------o




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to