Re: safe_mode and files permissions q?
| From: | Chand | Date: | Wed, 10 Jul 2002 10:05:20 +0000 |
| Subject: | Re: safe_mode and files permissions q? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85888@lists.php.net to get a copy of this message | ||
On Wed, 10 Jul 2002 11:55:42 +0200
"Stefan Esser" <s.esser@e-matters.de> wrote:
> Hi,
>
> > And user can't access this file.
> > Can I solve this problem by myself, or it's Engine trouble..?
>
> If you really really need to create and access files from your script then
> create a directory within your document root like "script-data"
> set safe_mode_include_dir to this directory. This should eliminate
> the problems.
>
> ATTENTION: do not forget to tell apache via httpd.conf that
> script-data is NOT accessible from the outside.
yeah that's a solution but it doesn't work in case of mass hosting : can't update
php.ini for each new user and have it carry 2 peta zillions safe_mode_include_dirs :)
but yeah for a few users, this is a working solution. Good thinking :)
I hope this helps ya out Vitaly.
Later. Take care..
--
Chand
Je recompile une version cvs unstable d'un client mail pour avoir les accents dans les sujets.
Et alors ?
(c) Chand, 2002
Le Perl c'est vraiment à chier pour générer des objets javas sérialisés. Et c'est
bien dommage.
Tuf (c), 2002