• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

System Requirments & safe_mode

#1
Hi All,

I've run the xenForo pre installation system requirements script and it reports

  1. PHP must not be running in safe_mode. Please ask your host to disable the PHP safe_mode setting.
I've turned this off on the server, but the script is still reporting the same?

From phpinfo

safe_mode Off Off
 
#3
I didn't need too as it was showing on the phpinfo.php as off, but I've restarted the server and I'm still getting the same message.

safe_mode is off but the script is telling me it's not.

I'm ready to buy the software but I'm not going to waste my money If it won't work.
 

Mike

XenForo developer
Staff member
#7
The safe_mode check is coming from PHP directly:
Code:
if (@ini_get('safe_mode'))
{
$errors['safe_mode'] = 'PHP must not be running in safe_mode. Please ask your host to disable the PHP safe_mode setting.';
}
I'm not sure why PHP info would say it's off while PHP itself would report it as on via ini_get() unless there's something else at play (directory specific configurations, different php.ini files/PHP binaries in use).

That said, safe_mode doesn't even exist in PHP 5.4+ and anything lower than that isn't a supported version of the language. I'd strongly suggest using a newer PHP version if possible.