Re: weird fopen problem
| From: | Jimmy | Date: | Thu, 10 Jan 2002 09:46:57 +0000 |
| Subject: | Re: weird fopen problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79995@lists.php.net to get a copy of this message | ||
Hi Jon,
> Warning: fopen("/home/jon/pgpfiles/sgsdgsdg","w") - Permission denied in
> /home/ethiorg/public_html/test.php on line 2
> the directory /home/jon/pgpfiles has mode 777 and is owned by nobody and
> group is nobody. Apache runs under user nobody.
looks like you try to open a file outside the allowed direcory tree.
check your "open_basedir" setting in php.ini config file.
--
Jimmy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Politics SUCKS !!