How to enable sessions?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How to enable sessions?

Postby ckosloff » 27. December 2009 22:21

PHP sessions might not be functional on your server.
This is the message I get when attempting to install Zen Cart on XAMPP 1.7.2
I have checked all other possibilities and narrowed it down to this one.
I have installed XAMPP on Mint 8 x64.
Please help.
Thanks.
Carlos K.
ckosloff
 
Posts: 37
Joined: 10. May 2007 16:35
Location: South Florida

Re: How to enable sessions?

Postby glitzi85 » 28. December 2009 21:11

This message says, it MIGHT not work. Did you try it?

To verify, you can open the XAMPP Start page under http://localhost open the phpinfo page and scroll down to the section "session". The first field should be named Session Support. What's on the right side of that field?

Also you can try to log on to phpMyAdmin (http://localhost/phpMyAdmin). PMA is also using sessions.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: How to enable sessions?

Postby ckosloff » 28. December 2009 23:16

@glitzi,
Thanks for support.
In fact session support is enabled.
The other stuff mentioned by the Zen Cart alert are the perms in folders, which are all set correctly.
Since session support is enabled by default in PHP, I am at a loss as to what is causing this warning.
Have already posted in the Zen Cart forums to no avail.
This is the first time I have an incompatibility between XAMPP for Linux and Zen Cart, everything worked fine with XAMPP 1.7.1
Regarding phpmyadmin, this is what it says:

User Host Password Global privileges 1 Grant
Any % -- USAGE No Edit Privileges
Any linux No USAGE No Edit Privileges
Any localhost No USAGE No Edit Privileges
pma localhost No USAGE No Edit Privileges
root linux No ALL PRIVILEGES Yes Edit Privileges
root localhost No ALL PRIVILEGES Yes Edit Privileges

I haven't set a pass for root yet, just setting things up.
What should I check for pma?
I didn't try installing because of the warnings, the installer should be free of warnings to proceed.
Carlos K.
ckosloff
 
Posts: 37
Joined: 10. May 2007 16:35
Location: South Florida

Re: How to enable sessions?

Postby ckosloff » 28. December 2009 23:30

Hold on for a moment.
I am trying something on Zen Cart, there might be an incompatibility with PHP 5.3.
Will post results here.
Carlos K.
ckosloff
 
Posts: 37
Joined: 10. May 2007 16:35
Location: South Florida

Re: How to enable sessions?

Postby ckosloff » 30. December 2009 02:20

OK, please disregard this thread.
There is no problem with XAMPP.
I have come to the conclusion that the Zen Cart installer does not work very well with PHP 5.3.
Thanks for the support.
Carlos K.
ckosloff
 
Posts: 37
Joined: 10. May 2007 16:35
Location: South Florida

Re: How to enable sessions?

Postby development.vk » 06. July 2017 21:04

Session issue can be fixed in Xampp 7.1.6 do the following change in php.ini
Line #1403
session.auto_start = 1
development.vk
 
Posts: 1
Joined: 06. July 2017 20:58
XAMPP version: 7.1.6
Operating System: Windows

Re: How to enable sessions?

Postby HokuApps » 18. September 2017 08:12

Whether to use cookies. session.use_cookies = 1. Name of the session (used as cookie name). session.name = PHPSESSID. Define Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 0. session.cookie_path = / session.cookie_domain = session.serialize_handler = php.
HokuApps
 
Posts: 22
Joined: 11. September 2017 07:23
XAMPP version: 1.8.0
Operating System: Windows


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 32 guests