Re: [SMARTY] PHP Safe Mode
| From: | Sheldon Jones - Admin | Date: | Sun, 09 Jun 2002 06:30:22 +0000 |
| Subject: | Re: [SMARTY] PHP Safe Mode | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4703@lists.php.net to get a copy of this message | ||
Yes, I run smarty on a safe mode server with no problems. I use a patch
for CGIWRAP to run all the php files as the user and not as the web
server. This is the only way that I could find that would allow me to
read write and create files in the users homedir with there perms.
You can find the patch for cgiwrap at
http://www.klaban.torun.pl/patches/cgiwrap/
and cgiwrap at
http://www.unixtools.org/cgiwrap/
I place smarty in the safe_mode_include_dir along with other common
files.. This way I only have to have 1 copy of smarty for all my sites.
If you would like more info let me know
--Sheldon
On Sat, Jun 08, 2002 at 09:46:26PM +0200, lukas wrote:
> Is there a way to make smarty work with PHP Safe mode?
>
> p.s.: "Smarty is perfect, great work guys"
>
> lukas
--
--Sheldon
------------------------------------------------------
Sheldon Jones
Systems Administrator
Lobo Internet Services, Ltd.
mailto:sheldon@hobbydump.com
Does Microsoft mean "small and limp"?
What's with the 'Intel Inside' warning label anyway?
------------------------------------------------------