safe mode appears off, ZP reports its on

Hey

phpinfo reports that safe_mode is off for both "local value" and "master value", but I just upgraded to zenphoto-1.2.5, and it shows a warning during setup that "PHP Safe Mode [is set]". Whats up with this?

Comments

  • acrylian Administrator, Developer
    Well, either phpinfo is not correct or setup has a bug...:-) DId you try to clear the browser cache?
  • Yes. I experienced this bug during installation for as long as I've been using ZenPhoto, which is about 2 years.
  • acrylian Administrator, Developer
    Then I don't know as it is actually working correctly for me and I never saw this. Maybe sbillard will have an idea about that (he did the setup anyway).
  • Well, setup does a really simple thing. It tests the value returned bu `ini_get('safe_mode')`. Doubt there would be a but in that. What does a `phpinfo()` show?
  • Configure Command has `'--enable-safe-mode'`
  • I don't know what that means. Is it good/bad? Should I change it? If so, to what? Where will I find it?
  • It means that `safe-mode` is enabled as Setup reports. We recommend it be disabled as somethings will not work with it enabled.
  • So why does php_info show that it is disabled? If I tell my hosting company to turn off safe mode on my virtual host, they can say that php_info says its off.
  • Sorry, this is not a Zenphoto question. You need to address these questions to your hosting company. But, clearly php_info is saying that `safe-mode` is on, so your ISP seems to be somewhat impared.
Sign In or Register to comment.