1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

jooma and mambo error

Discussion in 'Plesk for Linux - 8.x and Older' started by randata, Sep 21, 2007.

  1. randata

    randata Guest

    0
     
    Hi
    iam trying to setup joomla in my hosting
    put i get the error
    Session save path Unwriteable
    /var/lib/php4

    i have tryed to chmod 777 to the directory but still no go
    somoen here who has a beder ide?
     
  2. SWsoft support

    SWsoft support New Pleskian

    22
    20%
    Joined:
    Dec 26, 2006
    Messages:
    6
    Likes Received:
    0
    Try to change PHP session.save_path variable in /etc/php.ini file to

    "tmp"

    If it doesn't help - try "/var/lib/php4/session"

    Do not forget to restart Apache after making changes.
     
  3. dyrer

    dyrer Basic Pleskian

    26
     
    Joined:
    Mar 27, 2007
    Messages:
    51
    Likes Received:
    0
    Location:
    Greece
    I have installed PHP 5 and I dont have php4 dir
    I have changed /etc/php.ini to /tmp but still receive error
    Which exactly php.ini is responsible for vhosts on vps with PHP 5.2 and Zend Engine?
     
  4. Linulex

    Linulex Regular Pleskian

    33
    80%
    Joined:
    Aug 4, 2001
    Messages:
    426
    Likes Received:
    61
    Hello,

    This is not a Plesk issue, but php related. I even wonder if it isn't joomla/mambo related because we didn't notice this behavior on other scripts.

    Joomla/mambo will refuse to see the session safe path if your php version is 4.4.x or 5.1.x (possible 5.2.x, we upgraded from 5.0.5 to 5.2.4).

    There are 2 possible solutions to the problem:

    1) set the session safe path in vhost.conf and have it point to a directory within the virtual hosts httpdocs domain. Don't forget to 777 that directory.

    2) set safe mode off

    If you choose to set of safe mode off you also need to set of safe mode off in php.ini. Plesk enteres a safe mode = on in every single virtual host so it doesn't matter if its off or on in the php.ini.
    You need to do this because of the virtual hosts, php sometimes has trouble to get the correct _ENV and will pass the _ENV from domainX to domainY

    hopes this helps a bit
    Jan
     
Loading...