php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23370 Session data cannot be stored
Submitted: 2003-04-27 05:48 UTC Modified: 2003-06-28 23:42 UTC
From: seven at nimrod-online dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.1 OS: Windows 98
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: seven at nimrod-online dot com
New email:
PHP Version: OS:

 

 [2003-04-27 05:48 UTC] seven at nimrod-online dot com
After setting up my Apache 2.0.45 webserver with PHP (php4apache2.dll module), I only have one problem with PHP.

In the php.ini file, I have set:
'session.save_path = ".;e:/program files/webserver/php/tmp"'
but i also tried:
'session.save_path = e:/program files/webserver/php/tmp'
and more similar values(8 letter names like progra~1, going up directories instead of giving the full path) but the session storage simply does not work.
The rest of the session part in php.ini is as following:
'session.save_handler = files
session.use_cookies = 1
; session.use_only_cookies = 1
session.name = SESSION
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_dividend    = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = off
session.bug_compat_warn = off
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0'

The warning I get back is:
'<b>Warning</b>:  session_start() [<a href='http://www.php.net/function.session-start'>function.session-start</a>]: open(/tmp\sess_a1eaccb1acf2e731c362a96de932fe71, O_RDWR) failed: No such file or directory (2) in <b>E:\program files\Webserver\www-docs\pcactief\admin\index.php</b> on line <b>8</b><br />'
The part about this warning that surprised me most was '/tmp\sess_a1eaccb1acf2e731c362a96de932fe71', even if I renamed the directory to /temp or /temporary (in the php.ini file and on my harddisk). Resetting the server does not work. 
Does anyone else have this problem? And how can i solve this?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-27 05:52 UTC] seven at nimrod-online dot com
After setting up my Apache 2.0.45 webserver with PHP (php4apache2.dll
module), I only have one problem with PHP.

In the php.ini file, I have set:
'session.save_path = ".;e:/program files/webserver/php/tmp"'
but i also tried:
'session.save_path = e:/program files/webserver/php/tmp'
and more similar values(8 letter names like progra~1, going up
directories instead of giving the full path) but the session storage
simply does not work.
The rest of the session part in php.ini is as following:
'session.save_handler = files
session.use_cookies = 1
; session.use_only_cookies = 1
session.name = SESSION
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_dividend    = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = off
session.bug_compat_warn = off
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0'

The warning I get back is:
'<b>Warning</b>:  session_start() [<a
href='http://www.php.net/function.session-start'>function.session-start<
/a>]: open(/tmp\sess_a1eaccb1acf2e731c362a96de932fe71, O_RDWR) failed:
No such file or directory (2) in <b>E:\program
files\Webserver\www-docs\pcactief\admin\index.php</b> on line
<b>8</b><br />'
The part about this warning that surprised me most was
'/tmp\sess_a1eaccb1acf2e731c362a96de932fe71', even if I renamed the
directory to /temp or /temporary (in the php.ini file and on my
harddisk). Resetting the server does not work. 
Does anyone else have this problem? And how can i solve this?
 [2003-04-27 05:53 UTC] magnus@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

and make sure it's using the php.ini file you are making 
changes in. 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 20:00:02 2026 UTC