Reply to Re: Apache 2.0.52 + PHP 4.3.9 configuration problem, for Linux Fedora 3.

Your name:

Reply:


Posted by David Robley on 10/01/00 11:22

nferrac@uns.edu.ar wrote:

> Hi,
>
> I have Apache 2.0.52 with PHP 4.3.9, running on a Linux Fedora 3, and
> cannot write through PHP on any folder, except for /tmp.
> No matter which permissions, owner or group are set for the folders or
> files, they never become writable.
>
> When I execute the following script, I have always obtain as a result,
> that "The file is not writable", although it should be, because test.txt
> has Apache as its owner and group, and permissions for reading, writing
> and executing for the owner, group and others.
>
> In Apache, the user and group are set to Apache, and in PHP the safe mode
> is off

<SNIP code>

The directory where you are trying to write should also have write and scan
(x) permissions for the user; this probably means making the directory
chmod o+wx

Cheers
--
David Robley

My hat covers my head... Just like hair used to!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация