Page 1 of 1

How to enable sessions?

PostPosted: 27. December 2009 22:21
by ckosloff
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.

Re: How to enable sessions?

PostPosted: 28. December 2009 21:11
by glitzi85
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

Re: How to enable sessions?

PostPosted: 28. December 2009 23:16
by ckosloff
@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.

Re: How to enable sessions?

PostPosted: 28. December 2009 23:30
by ckosloff
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.

Re: How to enable sessions?

PostPosted: 30. December 2009 02:20
by ckosloff
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.

Re: How to enable sessions?

PostPosted: 06. July 2017 21:04
by development.vk
Session issue can be fixed in Xampp 7.1.6 do the following change in php.ini
Line #1403
session.auto_start = 1

Re: How to enable sessions?

PostPosted: 18. September 2017 08:12
by HokuApps
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.