Author Topic: About the safe mode.  (Read 3336 times)

Offline bugler

  • Jr. Member
  • **
  • Posts: 54
About the safe mode.
« on: January 31, 2007, 10:04:46 AM »
Hi,

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

Thanks. Ed.

Offline jpingle

  • Jr. Member
  • **
  • Posts: 77
Re: About the safe mode.
« Reply #1 on: January 31, 2007, 11:39:41 AM »
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:

Code: [Select]
safe_mode = Off
Change that to say

Code: [Select]
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

Offline bugler

  • Jr. Member
  • **
  • Posts: 54
Re: About the safe mode.
« Reply #2 on: February 02, 2007, 03:51:05 AM »
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.

Offline jpingle

  • Jr. Member
  • **
  • Posts: 77
Re: About the safe mode.
« Reply #3 on: February 02, 2007, 02:47:28 PM »
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.