PHP/IIS - Sessions_save_path - Session Data created but an error occurs and installation can not be done

569 Views Asked by At

I am trying to build a mediawiki and I have installed IIS and PHP manually to do that. I did all configuration and after that I wanted to begin with the Installation of mediawiki, but then the following error occur:

So I checked my php.ini and set the Session.save_path to C:\inetpub\temp\phpsessions. There the data gets saved (see Screenshot), but the error still occurs.

Does anybody know this error and can help me, or has an idea to fix this error?

1

There are 1 best solutions below

2
On

MediaWiki uses it's own session storage (in DB or memcached/redis...), but on the installer it has to use the normal php session handler... In a load balanced setup, for this scenario, you must ensure each client is assigned to the same server, otherwise a session starting on server A, if the load balancer switches to server B, this session is not recognised and you'll end with a session data lost error.