Bug #17146 Updated: session_start don't create sess_* file

From: Date: Thu, 25 Jul 2002 04:02:50 +0000
Subject: Bug #17146 Updated: session_start don't create sess_* file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15117@lists.php.net to get a copy of this message
 ID:               17146
 Updated by:       isset@siscom.net
 Reported By:      smurf@volny.cz
 Status:           Closed
 Bug Type:         Session related
 Operating System: Linux 2.4.18
 PHP Version:      4.2.0
 New Comment:

I'm using apache 1.3.26, and php 4.2.2, and currently I'm getting the
following error:
Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on
line 0

Any body know why this is happening? A resolution would be greatly
appreciated.


Previous Comments:
------------------------------------------------------------------------

[2002-05-10 18:09:37] smurf@volny.cz

Thanks for advice. I try it and when get something wrong with apahe
1.3.x, I write you

Radek

------------------------------------------------------------------------

[2002-05-10 18:01:36] rasmus@php.net

Thanks for the bug report, but Apache2 is not supported yet.  If you
can reproduce the same problem using PHP 4.2.0 against Apache 1.3.x
please let us know.  Apache2+PHP is not fully baked yet and there are
still many issues to work out.

------------------------------------------------------------------------

[2002-05-10 17:59:25] smurf@volny.cz

I have compiled apache 2.0 with PHP 4.2.0

When I try start session PHP return warning:
Warning: open(/tmp/sess_*, O_RDWR) failed: Invalid argument (22) in xx
on line y

Warning: open(/tmp/sess_*, O_RDWR) failed: Invalid argument (22) in
Unknown on line 0

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on
line 0

I'am really sure that in php.ini I have right path and the directory
have sufficient access right. 

Before than I upgrate to PHP 4.2.0 all get fine (last function version
was PHP 4.1.2, Apache 1.3.24). 

I'am using for testing this script:
<?php
session_start();
if (isset($HTTP_SESSION_VARS['count'])) {
   $HTTP_SESSION_VARS['count']++;
}
else {
   $HTTP_SESSION_VARS['count'] = 0;
}
?>

I hope that I don't trouble you with my mistake.

Best regards
   Radek

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17146&edit=1



Thread (6 messages)

« previous php.bugs (#15117) next »