#17146 [Com]: session_start don't create sess_* file
| From: | soulios_NO_SPAM_PLEASE_ at di dot uoa dot gr | Date: | Wed, 28 Aug 2002 06:44:24 +0000 |
| Subject: | #17146 [Com]: session_start don't create sess_* file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17994@lists.php.net to get a copy of this message | ||
ID: 17146
Comment by: soulios_NO_SPAM_PLEASE_@di.uoa.gr
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 have the same problem with an OpenBSD server running Apache 1.3.26
and php 4.2.2
Warning: open(/tmp/sess_ab5e8455ee926a7e61883eb434b02f67, O_RDWR)
failed: No such file or directory (2) in /htdocs/login.php on line 16
Something weird is that I encountered the same problem under my linux
pc with kernel 2.4.18 but not 2.4.10. Any suggestions?
Previous Comments:
------------------------------------------------------------------------
[2002-07-25 00:02:49] isset@siscom.net
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.
------------------------------------------------------------------------
[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