Re: Problem with permission denied
| From: | Narcis Garcia | Date: | Thu, 11 Apr 2019 07:13:23 +0000 |
| Subject: | Re: Problem with permission denied | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326758@lists.php.net to get a copy of this message | ||
You should check current permissions for:
/var/www/html/iQSpilot01/test2.php
/var/www/html/iQSpilot01
/var/www/html
/var/www
/var
And sure all tree is readable by webserver as any other working file.
El 11/4/19 a les 8:36, Piti Cholpripimolrat ha escrit:
> Hi Expert,
>
> I have running php on a website. I am now facing a problem with
> permission denied.
>
> iqs test test2 Current script owner: iqs
> *Warning*: fopen(/home/iqs/testmomtool/newfile.txt): failed to open
> stream: Permission denied in */var/www/html/iQSpilot01/test2.php* on
> line *19*
> Unable to open file!
>
> Could you please suggest how to overcome the issue? I am running with
> user:iqs and the file is also located under its home directory.
>
> BRs,
> Piti