Viewing Issue Simple Details Jump to Notes ] << ] >> ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000149 [1. XAMPP for Windows] Apache2 minor have not tried 2010-01-18 16:46 2010-01-18 16:48
Reporter m-g View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 1.7.3
Summary 0000149: XAMPP - Apache2 - portable - TMP environment bug
Description In the portable version of windows XAMPP 1.7.3 (xampp-win32-1.7.3.zip)
there might be a bug with setting the TMP environment under specific circumstances for Apache2.

If you install the windows portable binaries of XAMPP to drive P:/portable/xampp
and setup the Apache2 document root to an other drive letter like "S:/my_webserver" you
will get warnings/errors when starting a session with "session_start()".

You can test this by a simple script:
<?php
session_start();
?>

Reason:
The apache is first looking for a directory S:/portable/xampp/tmp.
(The apache is looking for the tmp dir at the document root drive letter
and not at the tmp environment.)
At this drive (S:) a session file is placed and afterwards the PHP tries
to get infomation for this session file at (P:).
So if the tmp-path at P: doesn't exists, the complete session handling fails.

To set the environment by hand with
SetEnv TMP "P:\\portable\\xampp\\tmp"
has no effect.

Please check.
Additional Information Temporary fix:
Create at the document root drive, here S: the following directory
S:/portable/xampp/tmp
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000240)
m-g (reporter)
2010-01-18 16:48

Reproducibility: yes

- Issue History
Date Modified Username Field Change
2010-01-18 16:46 m-g New Issue
2010-01-18 16:48 m-g Note Added: 0000240
2010-01-18 16:58 m-g Issue Monitored: m-g


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker