Page 1 of 1

why Session save path unwriteable?

PostPosted: 22. September 2005 19:04
by sastro
Dear all,

I am newbie here. I want to ask why my session save path is unwriteable? How to make it writeable and how to turn on or off my register globals?

I have installed apachefriends and when I tested to run a script installation, I got this :
- PHP version >= 4.1.0 Yes
- zlib compression support Available
- XML support Available
- MySQL support Available
- configuration.php Writeable
- Session save path .;c:\apachefriends\xampp\tmp, Unwriteable

I hope someone can help me.. I really need an answer for this.
Thanks in advance

Best Regards,

Sastro Gozali

PostPosted: 22. September 2005 19:30
by Wiedmann
- Session save path .;c:\apachefriends\xampp\tmp, Unwriteable

Remove the ".;" from the "Session save path".

PostPosted: 23. September 2005 03:44
by sastro
Wiedmann wrote:
- Session save path .;c:\apachefriends\xampp\tmp, Unwriteable

Remove the ".;" from the "Session save path".


thanks for your reply. But where I can change it? what files do I have to change/edit?
and also how to change the register global on or off if I want? which files should I edit?

Thanks a lot

Sastro

PostPosted: 23. September 2005 10:25
by Wiedmann
For all PHP settings it's the same file (which is descriped in the PHP-manual also):
php.ini

(in "\xampp\apache\bin")

PostPosted: 23. September 2005 12:17
by sastro
Wiedmann wrote:For all PHP settings it's the same file (which is descriped in the PHP-manual also):
php.ini

(in "\xampp\apache\bin")


hi Wiedmann,
thanks again for ur reply.

I have changed the \xampp\apache\bin\php.ini file.
but still the same.

Then I try to install mambo,

- PHP version >= 4.1.0 Yes
- zlib compression support Available
- XML support Available
- MySQL support Available
- configuration.php Writeable
- Session save path .;c:\apachefriends\xampp\tmp, Unwriteable

Register globals is ON. I want to turn it off (as recommended)

here is my Php.ini :

; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path= ".;c:\apachefriends\xampp\tmp"

then I change to

session.save_path= "c:\apachefriends\xampp\tmp"

still can't. Session save path is still unwriteable.

Please help me.
thanks in advance

Sastro

PostPosted: 23. September 2005 12:31
by Wiedmann
restart Apache