Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: PHP safe_mode  (Read 4015 times)

0 Members and 1 Guest are viewing this topic.

kaliuyang

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
PHP safe_mode
« on: April 26, 2004, 07:49:01 am »

just wondering whether "Coppermine" require PHP safe_mode to be off???

my webhoster won't disable it due to so-called "security issues" >:(

thanx a lot.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PHP safe_mode
« Reply #1 on: April 26, 2004, 08:23:07 am »

From the docs ( http://coppermine.sourceforge.net/manual.php#safe ):
Quote
A significant number of webhost on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the "open basedir restriction" active, provided safe mode is properly configured. Unfortunately on many hosts, safe mode is not configured properly.

If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :

  • With a FTP program, change the mode of Coppermine's "include" directory on your server to 0777.
  • Do the same for the "albums" and "userpics" directories.
  • Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"
« Last Edit: September 24, 2004, 05:38:41 am by GauGau »
Logged

suzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: PHP safe_mode
« Reply #2 on: September 23, 2004, 07:18:42 pm »

I did all this and I am still getting these errors from my members :
Impossible to move Image1.jpeg to modules/coppermine/albums/userpics/13626/ !



Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 503 is not allowed to access /home/virtual/site1/fst/var/www/html/modules/coppermine/albums/userpics/13626 owned by uid 48 in /home/virtual/site1/fst/var/www/html/modules/coppermine/db_input.php

how do I fix this?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PHP safe_mode
« Reply #3 on: September 24, 2004, 05:40:41 am »

the usage of the term "modules" hints that you're using he nuked version of coppermine. This board here is dedicated to the standalone version only.. Refer to http://forum.coppermine-gallery.net/index.php?topic=2277.0

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.