Sessions not enabled. How to enable with IIS?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
norman1
New Member
New Member
Posts: 8
Joined: Thu Feb 08, 2007 3:19 am

Sessions not enabled. How to enable with IIS?

Post by norman1 »

Hi guys.

I have installed CMSMS as a test on my PC running WAMP5 and it worked a dream :)

Have now stepped up and am installing it on a server running IIS5, and have got it to the install part :D

At the first page (1) it passes all requirements, but has the yellow warning next to 'Checking if sessions are enabled' (and PHP memory is 8mb, upload mem = 2mb - but not so wurried bout these).
I have checked the php.ini file and the sessions section is the same on the server, as it is on my PC.

I'm not really sure what else to look for (and bit of a newbie to PHP). Been looking on google extensively but can't find a solution.

Can anybody point me in the right direction?
Or do I even need to have sessions enabled? - the site needs to run the built in modules plus calendar module.
Pierre M.

Re: Sessions not enabled. How to enable with IIS?

Post by Pierre M. »

Hello,

I don't know anything about IIS. But I think PHP sessions are only PHP and not IIS related.
I don't know much about PHP. May be it needs a folders for handling (transient) sessions. So my advice is to google how to make PHP sessions inside a folder with RW rights for IIS or have a look at the very nice docs on php.net.

You don't need sessions for your visitors to browse your site, but you need them to log in to write your site.

PM
norman1
New Member
New Member
Posts: 8
Joined: Thu Feb 08, 2007 3:19 am

Re: Sessions not enabled. How to enable with IIS?

Post by norman1 »

Have had a mighty hunt around on the net for this - but everybody seems to suggest making the [Sessions] folder writable by the internet Guest account - but this doesnt seem to make any difference - and have come accross other IIS users also saying this didnt fix it for them  :(

Anybody have any other suggestions?
Pierre M.

Re: Sessions not enabled. How to enable with IIS?

Post by Pierre M. »

norman1 wrote: ...making the [Sessions] folder writable by the internet Guest account...
You mean the /sessions folder, just under the root of the PHP enabled webserver, don't you ?
PM
norman1
New Member
New Member
Posts: 8
Joined: Thu Feb 08, 2007 3:19 am

Re: Sessions not enabled. How to enable with IIS?

Post by norman1 »

Pierre M. wrote:
norman1 wrote: ...making the [Sessions] folder writable by the internet Guest account...
You mean the /sessions folder, just under the root of the PHP enabled webserver, don't you ?
PM
Yeah theres a folder that PHP stores its sessions in (currently C:/PHP/Sessions) - but I think setting this to allow the IUSR Itnernet Guest account makes no differnece as its only PHP that uses this - not IIS..

Thanks for the ideas PM :)
3dcandy

Re: Sessions not enabled. How to enable with IIS?

Post by 3dcandy »

Have a look through the PHP guides....you need to enable sessions in php correctly. I can't remember without
looking, but I had to play around with my own personal PHP install to enable them correctly!
norman1
New Member
New Member
Posts: 8
Joined: Thu Feb 08, 2007 3:19 am

Re: Sessions not enabled. How to enable with IIS?

Post by norman1 »

3dcandy wrote: Have a look through the PHP guides....you need to enable sessions in php correctly. I can't remember without
looking, but I had to play around with my own personal PHP install to enable them correctly!
was that using PHP via IIS?
If you could remember that would be a real help cos I've checked everything I can find that might be wrong  ::)
Locked

Return to “[locked] Installation, Setup and Upgrade”