[TYPO3-bugs] Bug 0000155: SafeMode detection issue; Comment

Georg Rehfeld georg.rehfeld at gmx.de
Fri Jan 5 03:41:34 CET 2007


Good morning list,

I have found the reason for false detection of

safe_mode = on

on my (hosted) Typo3 install and believe, that this might be the reason
for most others suffering from that problem. Thus I wanted to add a
comment to the mentioned (closed) bug, but can't.

The reason in my case was: the friendly hoster tried to turn off
safe_mode for me by adding this to my virtual hosts config:

   php_admin_value safe_mode off

where he instead should have added:

   php_admin_flag  safe_mode off

So there seems to be no real issue with Typo3 at all. His setting is
interpreted by PHP as a string value and thus ini_get() returns
that string, which is then interpreted as a true value in all the:

   if (ini_get('safe_mode')) ...

The only issue remaining would be, that the install tool (and ONLY
the install tool) could/should check for such misconfiguration and hint
the Typo3 admin more specifically.

If you follow my view, then please reopen that bug, add my hint
(partially/edited) and close again with a true outcome/at least a
valuable hint.

Best regards

Georg
-- 
  ___   ___
| + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
|_|_\ |___   georg.rehfeld.nospam at gmx.de    +49 (40) 23 53 27 10

              (Delete .nospam from mail address)


More information about the TYPO3-team-bugs mailing list