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

Michael Stucki michael at typo3.org
Thu Jan 11 16:12:10 CET 2007


Hi Georg,

for your information: Karsten has posted your text into the bugtracker, and I 
just attached another comment there.

If you don't agree with my conclusion, please let me know again.

Regards, michael

Am Freitag, 5. Januar 2007 03:41 schrieb Georg Rehfeld:
> 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


More information about the TYPO3-team-bugs mailing list