Re: file creation problem at production server
| From: | Cristian MARIN | Date: | Thu, 26 Jun 2003 20:24:18 +0000 |
| Subject: | Re: file creation problem at production server | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20574@lists.php.net to get a copy of this message | ||
Your server httpd is running as a different user then the user who is owning
the files from the /home/xyz/pttx/boffice/. Please check the user as which
the apache is running (ps aux|grep httpd) and the user who own the files
Another reason could be that the apache user has no rights to write in the
directory /home/xyz/pttx/boffice/.
You should do
chown apacheuser.apacheuser /home/xyz/pttx/boffice/
chmod 777 /home/xyz/pttx/boffice/
--
-------------------------------------------------
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel: +4021 312.53.12
Tel/Fax: +4021 312.51.91
cristic@interakt.ro
"Narayanak" <narayana_itex@hotmail.com> wrote in message
news:20030626091731.66500.qmail@pb1.pair.com...
>
> hi all,
> I received the following error message when i want to create a .csv file
in
> the web server, in my local server the file is created without any problem
> and its working nice the same is not working at production server, why
this
> happens and suggest the solution
> Warning: fopen(Applicant.csv): failed to open stream: Permission denied in
> /home/xyz/pttx/boffice/individual.php on line 93
>
> Regards
> Narayana
>
> narayana@itex-world.com
>
>