Ankündigung

Einklappen
Keine Ankündigung bisher.

PHP 5.3.5 Update und dann Fehlermeldungen

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • PHP 5.3.5 Update und dann Fehlermeldungen

    Hallo

    Ich hab php 5.3.5 installiert nun bekomm ich bei PHPmyAdmin und bei ein Paar andern Script diese fehlermeldung

    Warning: session_start() [function.session-start]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/confixx) in /home/www/confixx/html/phpMyAdmin/libraries/session.inc.php on line 86

    Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /home/www/confixx/html/phpMyAdmin/libraries/session.inc.php on line 86

    was kann ich machen

    gruß

    DeMa

  • #2
    Code:
    /tmp
    zum open_basedir hinzufügen ? ( verzeichnisse werden mit einem : voneinander getrennt ).

    PHP kann nirgens hinschreiben / lesen was nicht im open_basedir liegt, wenn open_basedir genutzt wird.

    Kommentar


    • #3
      http://www.google.de/search?sourceid...078da741f0ed3b

      Lösung:
      open_basedir-Einstellung könnte unzureichend sein
      Setup hat erkannt, daß die PHP-Direktive vermutlich ausreichend konfiguriert ist. Wenn Sie jedoch Meldungen wie 'open_basedir restriction in effect. File is not within the allowed path(s): ' erhalten, müssen Sie die open_basedir-Direktive anpassen.
      Quelle: http://www.webwork-community.net/posting8551_23_0.html
      http://www.google.de/search?sourceid...iles+(path%3A+)

      Lösung:
      Dear you said :
      Set appropriate session.save_path.

      Can you tell me to what do I have to write dear :
      ; As of PHP 4.0.1, you can define the path as:
      ;
      ; session.save_path = "N;/path"
      ;
      ; where N is an integer. Instead of storing all the session files in
      ; /path, what this will do is use subdirectories N-levels deep, and
      ; store the session data in those directories. This is useful if you
      ; or your OS have problems with lots of files in one directory, and is
      ; a more efficient layout for servers that handle lots of sessions.
      ;
      ; NOTE 1: PHP will not create this directory structure automatically.
      ; You can use the script in the ext/session dir for that purpose.
      ; NOTE 2: See the section on garbage collection below if you choose to
      ; use subdirectories for session storage
      ;
      ; The file storage module creates files using mode 600 by default.
      ; You can change that by using
      ;
      ; session.save_path = "N;MODE;/path"
      ;
      ; where MODE is the octal representation of the mode. Note that this
      ; does not overwrite the process's umask.
      ;session.save_path = "/tmp"

      Quelle: http://bugs.php.net/bug.php?id=40443
      Es geht, wenn ich den session.save_path auf /tmp setze.. Aber laut manual soll /tmp das default-value sein..
      Wenn es vorher schon nicht gegangen wär, wärs mir früher aufgefallen, dass da in der php.ini nix angegeben ist

      Quelle: http://www.phpforum.de/archiv_68532_..._anzeigen.html
      [To be continued...]

      Kommentar


      • #4
        Zitat von tr0y
        zum open_basedir hinzufügen ? ( verzeichnisse werden mit einem : voneinander getrennt ).
        Kleine Ergänzung:

        Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon.
        - http://www.php.net/manual/en/ini.cor...i.open-basedir

        In der vordefinierten Konstanten PATH_SEPARATOR sollte das passende Trennzeichen vorliegen.

        Kommentar

        Lädt...
        X