Results 1 to 8 of 8

Thread: New Install - php.ini - session.save_path error

  1. #1
    shayema is offline Junior Member
    Join Date
    Apr 2009
    Posts
    1

    Question New Install - php.ini - session.save_path error

    I'm working on a new install of the sugarcrm community edition. During the system check I got the following error:
    The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist. You might need to set the save_path setting in php.ini or verify that the folder sets in save_path exist.

    I checked the session.save_path on the php.ini file and the directory it points to exists and is set to the user/group for apache.

    Any suggestions on this?
    Thanks

  2. #2
    routledge is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    London
    Posts
    98

    Smile Re: New Install - php.ini - session.save_path error

    Hi there

    Reset the path and restart your web server, if this doesn't help let me know

  3. #3
    routledge is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    London
    Posts
    98

    Default Re: New Install - php.ini - session.save_path error

    Quick update, what OS are you using?

  4. #4
    PRX
    PRX is offline Member
    Join Date
    Aug 2008
    Posts
    12

    Default Re: New Install - php.ini - session.save_path error

    hello,

    same error .

    I checked the path name in php.ini session.save_path : /var/www/web1/phptmp/ (one php.ini per domain), I restarted Apache ; (On Debian)
    Stuck.
    Can you help ?

    Regards

  5. #5
    routledge is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    London
    Posts
    98

    Default Re: New Install - php.ini - session.save_path error

    Quote Originally Posted by PRX View Post
    hello,

    same error .

    I checked the path name in php.ini session.save_path : /var/www/web1/phptmp/ (one php.ini per domain), I restarted Apache ; (On Debian)
    Stuck.
    Can you help ?

    Regards
    Hi there

    well you shouldn't have to do this but it got me round this problem before. Move your php.ini file to the following location on your linux box /etc/php5/apache2/ then obviously change the path within the file to mirror the change in location. Then restart apache, if you are using a hosted box then you may not be able to do this.

    Hope this has helped

    John

  6. #6
    PRX
    PRX is offline Member
    Join Date
    Aug 2008
    Posts
    12

    Default Re: New Install - php.ini - session.save_path error

    Thank you for your help Routledge :

    I change the Vhost Apache directive and come back to a standalone situation (I have this server dedicated for us), this does not change anything : see the message and the path taken into consideration. Debian version.
    "
    System Check Acceptance SugarCRM

    Errors have been detected during compatibility check. In order for your SugarCRM Installation to function properly, please take the proper steps to address the issues listed below and either press the recheck button, or try installing again.
    Component Status
    Session Save Path Setting The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist. You might need to set the save_path setting in php.ini or verify that the folder sets in save_path exist.
    Note: Your php configuration file (php.ini) is located at:
    /etc/php5/apache2/php.ini
    "
    I do not know what to do.

    Regards.

  7. #7
    yoggi is offline Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Default Re: New Install - php.ini - session.save_path error

    ... any solutions? I stuck at the same point - Ubuntu-Server
    phpinfo() says: session.save_path /var/lib/php5

    seems to be ok, but Sugar doesn t like it - why


    sort it: was an open_basedir restriction. I hat to include the path in the httpd.include
    Last edited by yoggi; 2009-04-27 at 03:59 PM.

  8. #8
    PRX
    PRX is offline Member
    Join Date
    Aug 2008
    Posts
    12

    Default Re: New Install - php.ini - session.save_path error

    Hello,

    I found finally that is because the user you are as web browser (on a Debian it is www-data (httpd user and group)) is not of the same group as the one of /var/lib/php5/phptmp.

    Depending of the owner/group of this directoty, you avec to add the httpd user (www-data perhaps) to the group of /var/lib/php5/phptmp.

    Best regards

    Will

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error on Install Session.save_path
    By mineer in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2009-01-16, 08:05 AM
  2. session.save_path error
    By kajaia in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2008-11-25, 01:21 PM
  3. session.save_path not set
    By RonPare in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-07-20, 04:27 PM
  4. 5.0.0e Linux install - php.ini session.save_path error - 5.0.0d installs fine
    By monadnockresearch in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-05-28, 06:06 AM
  5. Install problem - session.save_path
    By nroper in forum Help
    Replies: 1
    Last Post: 2005-10-28, 09:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •