php access error HTTP/1.1 200 OK Connection: close Data

Published: 2010-05-26

Some PHP programs report errors when accessed. The specific characteristics are as follows:

HTTP/1.1 200 OK Connection: close Date: Wed, 26 May 2010 08:11:38 GMT Content-Type: text xml Server: Microsoft-IIS/6.0 X-Powered-By: PHP/5.2.8 X-Powered-By: ASP.NET  

Solution: Just change the PHP running mode to isapi.

For virtual hosting, please log in to the Management Center > Business Management > Virtual Host Management, click Manage to enter, select PHP mode and change it to ISAPI mode.

For dedicated hosts and VPS, remotely log in to the server, open IIS, select the corresponding site, right-click Properties > Home Directory > Configuration, change php and php3 in the mappings to (PHP installation directory\php5isapi.dll), and click OK.