I tried to changed the session path for PHP 7.2 on a Windows Server 2016 but the phpinfo shows only the default path to the windows temp folder.
PHP 7.2 was installed by the webplatform installer.
What I have tried so far:
created a new folder
path: "C:\Program Files\PHP\v7.2\session"
changed the folder security properties for the IIS_IUSERS
for test the user has full access
then changed the entry "session.save_path" in the php.ini to the folder path
session.save_path = "C:\Program Files\PHP\v7.2\session"
restart the IIS server / restart the whole window server
If I printed out the php settings with the function phpinfo it said that the session path is located under "C:\Windows\temp". It looks like that my option will not be loaded.
But if I changed other option in the php.ini the phpinfo shows me the correct value. And in the entry "Loaded Configuration File" it shows that my php.ini file is used as configuration file.
So my question is what do I have to do to change the session path under windwo server 2016?