|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-10 18:01 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 11 16:00:01 2025 UTC |
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