1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

PHP 4.3.10 and session.save_path vs open_basedir

Discussion in 'Plesk for Linux - 8.x and Older' started by BoXie, May 4, 2005.

  1. BoXie

    BoXie Guest

    0
     
    Hi,

    On Fedora Core 2 with PHP 4.3.10 the session.save_path in /etc/php.ini is set too /var/lib/php/session by default.

    But once you install things like Mambo , installers complain they can't write to the session dir. This is because the open.basedir restricts PHP (writing) to the users homedir and /tmp.

    Is it safe and best practise to modify /etc/php.ini so that session.save_path is set too /tmp ?
     
  2. akamaka

    akamaka New Pleskian

    23
    40%
    Joined:
    Jan 19, 2004
    Messages:
    21
    Likes Received:
    0
    Same question....
     
  3. jamesyeeoc

    jamesyeeoc Guest

    0
     
  4. BoXie

    BoXie Guest

    0
     
    Hmm . those threads haven't got much to do with this one.

    My question: is it safe to change the session.safe_path to /tmp (any complications with that ?).

    And if so ... why can't it be found in Plesk documentation to do so .. since Plesk uses open_basedir's. It should be a common issue.
     
Loading...