Re: Problem with opening a file
| From: | Chris Hewitt | Date: | Thu, 06 Jun 2002 08:54:26 +0000 |
| Subject: | Re: Problem with opening a file | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7234@lists.php.net to get a copy of this message | ||
Fahad,
The error message says it is a permission problem. Has the file got permissions for the user that apache is running as (usually "apache" or "nobody") to read it?
HTH
Chris
Fahad Javed wrote:
Hi, I am using PHP as a Apache module using linux. When I try to open a file it gives me the following warning in the browser Warning: fopen("/var/www/html/fjaved/temp/proxydemo.c", "r+") - Permission denied in /var/www/html/fjaved/foo.php on line 14 Any ideas suggestions etc are welcome Thanks Fahad