ID: 17146 Comment by: nospam at nospam dot com Reported By: smurf at volny dot cz Status: Closed Bug Type: Session related Operating System: Linux 2.4.18 PHP Version: 4.2.0 New Comment:
same problem here running php 4.3.3 under w2k pro and apache 1.3.28 Previous Comments: ------------------------------------------------------------------------ [2002-08-28 02:44:23] soulios_NO_SPAM_PLEASE_ at di dot uoa dot gr 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? ------------------------------------------------------------------------ [2002-07-25 00:02:49] isset at siscom dot 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 at volny dot 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] [EMAIL PROTECTED] 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 at volny dot 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