php file does not take effect after the update? Effective pro-test!

1. Description of the problem

A windows Server2008 server running iis7 on which there php5.3 php5.5 engine and web services.

However, the actual use of that, the revised php file, the results can not access the file frequently refreshed in real time, and sometimes have to wait ten minutes, sometimes more than one hour modification is not necessarily effective.

2, problem analysis

Internet search solutions, most of that is a parameter in php.ini "opcache.revalidate_freq" to be set to 0. But in practice found that does not solve the problem php file modification does not take effect.

 

After exploration discovery, iis7 for each web application to establish the application pool. Php should be the legacy code of the application pool has been in use, failed to release, resulting in a new version can not be used.

3, resolution steps

After the update php file, if not in effect, first check the file is located in the iis site application pool configuration.

IMGWeb as shown below corresponding to the site of application pool IMGWeb

 

 

 

 

Then the application pool, find IMGWeb project, click the right mouse button and select "recovery" menu can be.

 

 

Guess you like

Origin www.cnblogs.com/jackkwok/p/12065834.html