I have been configuring the PHP environment under iis7.5 to meet thinkphp framework development requirements since I changed the Windows 7 operating system over the past few days. I have consulted a lot of materials online, it is found that Microsoft provides many convenient php configuration methods, and iis7.5 makes it easier to configure the php environment.
I have been configuring the PHP environment under iis7.5 to meet thinkphp framework development requirements since I changed the Windows 7 operating system over the past few days. I have consulted a lot of materials online, I found that Microsoft has provided many convenient php configuration methods, and iis7.5 is more convenient to configure the php environment. at the beginning, many problems occurred during the configuration. I would like to consult with you in the ThinkPHP technical group, most people answer this question by using Apache or Appserver-like integration packages. this method is not a trial, but can be used for both considerations. net development, IIS must be installed. in this case, if I install another Apache or integrated environment, it is necessary to change the http service port, which is troublesome, besides, I am only engaged in Development rather than Server. in order to facilitate and improve efficiency, I started my research. The following are some experiences I have summarized during the configuration process for your reference:
1. Microsoft launched the Web Platform installation method for iis7.x:
Http://www.microsoft.com/web/platform/phponwindows.aspx
Web Platform is very convenient.
2. you can also install a PHP Manager (which I just installed). you can configure the php development environment in one step. FastCGI is used.
After installation, restart the iis management tool to view it.
3. The third method is to use ISAPI, which is not much different from the IIS5.1 or IIS6 method. I will not introduce it here. There are many online tutorials, according to some data, FastCGI is used to configure the PHP environment more efficiently. Therefore, ISAPI is not recommended in IIS7.x.
In addition, ThinkPHP3.0 requires less support for PHP5.3 and above. when using the built-in case test, pay attention to restoring examlpes. SQL coding problem (the Form table contains Chinese characters. if garbled characters occur, the table cannot be created successfully, which will cause the Form and Ajax cases to be unable to write data.