php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #27473 not enough information
Submitted: 2004-03-02 20:41 UTC Modified: 2004-09-17 15:12 UTC
From: sambukkaa at hotmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.0.0b4 (beta4) OS: all
Private report: No CVE-ID: None
 [2004-03-02 20:41 UTC] sambukkaa at hotmail dot com
Description:
------------
I have installed the 5.0.0b4 PHP on my server.

It would be very frindly to write a small example how to point the session.save_path in the php.ini-dist.
I had to test all the below possibilities to find the right one on Windows IIS 4 server:

1)php installed on d:\php
2)php_sessions subdirectory created on d:\php_sessions

session.save_path="d:/php_sessions" ---> didn't work
session.save_path="d:\php_sessions" ---> didn't work
session.save_path="d:/php_sessions" ---> didn't work
session.save_path=/php_sessions ---> didn't work

confused!
duplicated the subdirectory php_sessions in d:\php\ as:
d:\php\php_sessions
worked!
Why the subdirectory php_sessions should exist in both places? 

php has to decide right where to check for its sessions directory!
Also, session creation is slow, very slow 1-3 seconds on 10 Mbit connection between 1 & 3 GHZ computers




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-02 20:45 UTC] sambukkaa at hotmail dot com
oopss sorry, forgot to write "" so the last line should look like this 
session.save_path="/php_sessions"

and nevertheless ---> didn't work
 [2004-09-17 15:12 UTC] vrana@php.net
Works perfectly for me. There is probably some other error - e.g. permissions. Problem with permissions will also explain long time of session creation.

Next time please specify your OS and don't suppose "all".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 02 14:01:32 2024 UTC