note 58536 added to ref.session

From: Date: Mon, 07 Nov 2005 19:43:29 +0000
Subject: note 58536 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-98207@lists.php.net to get a copy of this message
Apache 2, Windows XP and PHP 5 Sessions drove me nuts!!! I messed with the PHPIniDir directive (httpd.conf) with and without slashes. With the last slash I lost my extensions so php_mssql.dll wouldnt load. But sessions would work. Every new page created a new session tempoarary file. PHPIniDir "c:/windows" Then I got really confused and checked php.ini and could see nothing wrong. To top it all it PHP worked fine on the same system using IIS. I eventually found that Apache and PHP session only worked when I set the save path with double backslashes NOT forward slashes! session.save_path = "c:\\php\\sessiondata" Hooray... two hours later but it works. ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58536 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58536&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58536&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58536&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58536&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58536&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58536&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58536&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58536&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#98207) next »