PHP and IIS

Question #1
I needed to make a change to my php.ini. I realize I will have to restart IIS. I will do this after hours when everyone goes home.

What happens when I restart IIS? Will it kill anyone logged into the website?

Question #2
When I make changes to php files and move them to the production server, do I need to restart IIS?

@Mel

  1. If you restart IIS and you’re using in-proc (Memory) session. Everything in Session will be lost. If you use cookie-based session or state server, nothing happens at all. I believe php uses file based session as default and to be honest I don’t think anything will happen to you if restart IIS (Other then a delay).

  2. You don’t have to restart IIS, if you move php files to your production server. (I do this all day long)

How can I verify my php is setup using file based session?

Never mind. I saw it in the phpinfo() sessions report.

Sponsor our Newsletter | Privacy Policy | Terms of Service