Re: FW: safe mode ... sigh ...
| From: | Andrei Zmievski | Date: | Tue, 26 Jun 2001 21:15:50 +0000 |
| Subject: | Re: FW: safe mode ... sigh ... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1007@lists.php.net to get a copy of this message | ||
On Tue, 26 Jun 2001, hans@linux.gelrevision.nl wrote:
> Hi
>
> >You're welcome to strip the dependancies of PEAR in Smarty, although
> >this may not be too favorable when it is time to upgrade Smarty,
> >especially if it moves to more dependancies of PEAR.
>
> Just some more info:
>
> Warning: SAFE MODE Restriction in effect. The script whose uid is 506 is not
> allowed to access
> ../templates_c/books_index.tpl.php owned by uid 99 in
> /home/nloboek/public_html/phpreview/stable/classes/Smarty.class.php on line 555
> ]
>
>
> It is possible to chown the PEAR.php but as you can see it Smarty will have
> troubles by itself when accessing the compiled templates....
>
> Suppose this does make it a smarty problem.... or do you consider making people
> chown every thing to nobody:nobody an option? ;]
Once again, this is not a Smarty problem. You are going to run into this
anytime you use PHP software that relies on PEAR -- are you going to
rewrite everyone's software because of this?
-Andrei
* Proximity bug: when the program crashes in front of important visitors. *