Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hope someone can help me with this.

I have PHP successfully installed via Fast-CGI for IIS 7.5 on WS2008 R2.

Let's say i try to edit some file called about.php and save it. If i check the changes via localhost, it works perfectly from the server.

However, if i try to see the changes using another computer and using the IP address of the site http://XX.XXX.XX.XXX i can't see the changes. The file remains the same before editing. I've deleted my browser cache and that is not the problem. It remains the same.

Im used to work with Linux/Apache combo but this time i have to use IIS so i don't know how caching works here. What should i do to flush the cache of IIS for me to be able to see all the changes i make to the site?

Using RDP and checking http://localhost works good. If i check it using a regular browser, regular internet connection and everything, i can't see the changes so im asumming something is keeping a cache.

Hope i've explained well. Any help would be awesome. Thanks.

share|improve this question
Stop and restart the World Wide Web Publishing service on the server... or alternately... run iisreset /restart from a command prompt on the server and see if that fixes it. – joeqwerty Sep 14 '12 at 18:21
Noup, already tried that. Same thing :( where does IIS stores temp files? must be a folder right? – Richard-MX Sep 14 '12 at 18:26
U sure it's IIS cacheing it? What browser are you using? – Simon Catlin Sep 14 '12 at 20:49
All three major browsers do the same. Inside the server it shows the updated versions, but if i try via it still show the old versions of the htmls and phps. – Richard-MX Sep 14 '12 at 22:18
up vote 0 down vote accepted

Answer: So weird. I restarted the instance two times and now everything is working :)

share|improve this answer
I'm glad your problem went away, but that's not really an answer -- From what you're describing it sounds like local browser caches (did you restart the browser after dumping the cache?), or if you're using a "PHP Accelerator" that could be the culprit too... – voretaq7 Sep 17 '12 at 16:39
Glad you've sorted this. Please be sure to mark your answer as "accepted" when you are able. – jscott Sep 17 '12 at 20:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.