mod_fcgid Failed to write session data to /tmp

Discussion in 'General' started by carpman, Apr 30, 2015.

  1. carpman

    carpman Member

    I am getting site error log filled with this error
    Code:
    mod_fcgid: stderr: PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/clients/client2/web2/tmp)
    
    tried setting tmp dir to 777 from 770 but still get error!

    any ideas?

    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    rm -f /var/www/clients/client2/web2/tmp/*

    the above error happens when you swirch suexec on or off or when you change from mod_php to another php mode. Then undo the chmod change.
     
    tsapi likes this.

Share This Page