Roundcube Community Forum

 

About the safe mode.

Started by bugler, January 31, 2007, 10:04:46 AM

Previous topic - Next topic

bugler

Hi,

can anyone explain what the safe mode is for and how to activate it?

Thanks. Ed.

jpingle

Are you referring to PHP's "safe_mode" function?

If so, you have to edit your php.ini file and find the line that says:

safe_mode = Off
Change that to say

safe_mode = On
And then restart Apache. There are some other related settings in php.ini that you may want to check as well - such as safe_mode_gid, safe_mode_include_dir, safe_mode_exec_dir, and safe_mode_allowed_env_vars. You should be able to find more information about these and more at PHP's web site: http://www.php.net

bugler

Hi,

thanks for answering.

In the roundcube code there are references to a safe mode. I ignore if that is related with php safe mode (no idea about that either).

I will try to find out what ph safe mode is about.

Ed.

jpingle

The only references to safe_mode I see in the RoundCube code are for detecting and coping with PHP's safe mode.

If you have more questions, feel free to ask. You'll probably find more information about PHP's safe mode on their site.