[imp] Uploads in PHP Safe Mode

Chuck Hagenbuch chuck@horde.org
Thu, 12 Oct 2000 10:35:06 -0400 (EDT)


Quoting Tressens Lionel <tressens@etud.insa-tlse.fr>:

> I'm running IMP 2.0.11, PHP3.
> The sytem is in safe mode and safe mode directory set to /usr/sbin, to
> execute sendmail.
> 
> But for uploads, IMP wants to write files in /tmp, what can I do to allow
> this ? Can I set two safe mode directories ?

You don't want another bin dir, you probably just need a directory owned by the
webserver user. Create one of those, and use php's upload_tmp_dir setting.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
must... find... acorns... *thud*