Re: [SMARTY] smarty problems - problem creating directory "/%%-13/%%-135052920
| From: | (Markku Niskanen) | Date: | Thu, 11 Dec 2003 11:20:11 +0000 |
| Subject: | Re: [SMARTY] smarty problems - problem creating directory "/%%-13/%%-135052920 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10662@lists.php.net to get a copy of this message | ||
On Wed, 10 Dec 2003 12:58:46 -0800 (PST), you wrote:
>I do believe you are correct; however, it CAN be turned ON from those
>locations, so users just checking httpd.conf may not be getting the
Well, this is what the manual says about the directives:
Name Default Changeable
safe_mode "0" PHP_INI_SYSTEM
A quick test verified this behaviour: I could not turn it
on using .htaccess.
As for httpd.conf Gerard seems to be correct - I did not
have a look at the apache documentation. However, you
can only do this trick when you have the permission to
make these changes. I only have one site where I can
do this (myself being "root" there).
Anyhow, my point is this: When safe_mode is turned on
by default (be it in php.ini or httpd.conf) a user without
access to these files (=normal web hotel situation) cannot
do much. Having access to these files means that one
is very probably the very system administrator or possibly
running a "jailed" FreeBSD virtual OS. This is a very rare
situation.
Very few ISPs are willing to make changes even in a virtual
directory configuration let alone change PHP.INI.
BUT: to return back to the original question: I would still
like to see this error message explained in the FAQ or
the documentation, preferably on top, maybe your message
in the forum could be added to the FAQ...
Markku
--
Markku Niskanen
Arctive Oy, Länsikatu 15, 80110 JOENSUU
http://www.arctive.com