LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-14-2009, 03:42 PM   #1
sefarlow
LQ Newbie
 
Registered: Feb 2009
Posts: 8
Blog Entries: 1

Rep: Reputation: 0
Unhappy Error Logging Into Squirrelmail/session.save_path


I installed squirrelmail and get a login screen, but get the following errors:
Warning: session_write_close() [function.session-write-close]: open(/var/lib/php5/sess_871103c1dc899d18e559e6d639b16bec, O_RDWR) failed: Permission denied (13) in /usr/share/squirrelmail/src/redirect.php on line 168

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in /usr/share/squirrelmail/src/redirect.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/squirrelmail/src/redirect.php:168) in /usr/share/squirrelmail/src/redirect.php on line 169

I am also having similar problems getting phpmyadmin to load up (session errors).

How do I fix this? Which php.ini file takes precedence - /etc/php5/cli/php.ini or /etc/php5/apache2/php.ini ?

This is on a Debian Lenny installation.

HELP!!
 
Old 06-15-2009, 08:17 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,885

Rep: Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608Reputation: 1608
apache uses /etc/php5/apache2/php.ini, so you can edit this file and use "session.save_path=/tmp", so the user that runs apache can write to it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error logging into squirrelmail madfed Linux - Server 2 06-02-2009 04:56 AM
Error logging in through squirrelmail madfed Linux - Server 8 09-19-2008 11:27 AM
PHP session.save_path for multiple users? Poetics Linux - Server 0 03-05-2008 12:59 PM
Problem Logging Into SquirrelMail kaplan71 Linux - Server 1 12-03-2007 08:32 PM
logging into squirrelmail bovan Linux - Software 1 08-06-2003 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration