Current time: 04-20-2024, 09:57 PM Hello There, Guest! (LoginRegister)


Post Reply 
Open_BaseDir ohne Funktion
Author Message
Kleiner Kobold Offline


Posts: 1
Joined: Sep 2011
Reputation: 0
Post: #1
Open_BaseDir ohne Funktion
Hallo,

es gibt ja 2 php. ini: einmal die Master und die domain spezifische in beiden habe ich folgende open_basedir:

Master:
open_basedir = "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/bin"

domain:
open_basedir = "/var/www/virtual/domain.tld/:/usr/share/php/:/usr/bin"

aber warum auch immer, programme die in /usr/bin liegen werden nicht beachtet. Ich nutze zwei Bildergalerien, bei beiden wird behauptet das kein Zugriff auf /usr/bin möglich wäre. Was läuft da falsch?

Danke und Grüße vom Kobold
09-29-2011 05:21 AM
Find all posts by this user Quote this message in a reply
tomhb Offline
Member
***

Posts: 336
Joined: Apr 2010
Reputation: 4
Post: #2
RE: Open_BaseDir ohne Funktion
(09-29-2011 05:21 AM)Kleiner Kobold Wrote:  Master:
open_basedir = "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/bin"

domain:
open_basedir = "/var/www/virtual/domain.tld/:/usr/share/php/:/usr/bin"

aber warum auch immer, programme die in /usr/bin liegen werden nicht beachtet. Ich nutze zwei Bildergalerien, bei beiden wird behauptet das kein Zugriff auf /usr/bin möglich wäre. Was läuft da falsch?

Hi,

wie immer:
http://isp-control.net/forum/thread-2428.html

Weil ich Deine config nicht kenne, versuche es doch einmal mit einem trailing-slash,
also "/usr/bin/" statt "/usr/bin" - vielleicht hilft das schon.
Ansonsten steht eine Fehlermeldung sicherlich in den LogFiles, evtl. auch ein
Problem mit den entsprechenden Berechtigungen? "/usr/bin" ins open_basedir zu packen
halte ich persoenlich fuer eine nicht so ganz gelungene Idee...

gruss tom
(This post was last modified: 09-29-2011 06:21 AM by tomhb.)
09-29-2011 06:15 AM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #3
RE: Open_BaseDir ohne Funktion
eventuelle disable_functionen nicht rausgenommen ?
09-29-2011 11:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: Open_BaseDir ohne Funktion
Exec mal freischalten. Viele brauch das um externes auszuführen. Smile
09-30-2011 01:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #5
RE: Open_BaseDir ohne Funktion
mein schreiben.
09-30-2011 11:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)