safe_mode off...

Nasr

Well-known member
safe_mode is off on my webhost server but i'm getting ...

The following errors occurred while verifying that your server can run XenForo:

  • PHP must not be running in safe_mode. Please ask your host to disable the PHP safe_mode setting.
Please correct these errors and try again.

I've checked phpinfo.php and safe_mode is off.

any reason that could cause this?
 
I figured out the same problem.

In my php.ini i set:

Code:
safe_mode = Off

then i checked the setting by using an info.php, like:
Code:
<?
  phpinfo();
?>

It results in telling me, that the safe_mode is off.
Anyways installation canceled by telling me, that i have to switch off safe_mode.

In my case the solution was to set in my php.ini:

Code:
; safe_mode = off

I think the problem is, that the Requirement-Test-Script checks if there is any safe_mode-setting (no matter if on or off) instead of checking, if safe_mode is off.
 
I figured out the same problem.

In my php.ini i set:

Code:
safe_mode = Off

then i checked the setting by using an info.php, like:
Code:
<?
  phpinfo();
?>

It results in telling me, that the safe_mode is off.
Anyways installation canceled by telling me, that i have to switch off safe_mode.

In my case the solution was to set in my php.ini:

Code:
; safe_mode = off

I think the problem is, that the Requirement-Test-Script checks if there is any safe_mode-setting (no matter if on or off) instead of checking, if safe_mode is off.

I have my local server set to off and it worked without a problem. Maybe they just need to restart php again.
 
Even if it is working for you, here the information, where:
Code:
 if (@ini_get('safe_mode'))
                {
                        $errors['safe_mode'] = new XenForo_Phrase('php_must_not_be_in_safe_mode');
                }
can be found.

It is in: /library/XenForo/Install/Model/Install.php

Greets
 
Top Bottom