Lamp Environment Building is a very popular framework for web development, but the version of the corresponding choice for the configuration is very important, today on the Internet to check the relevant information, do some about the Apache version and PHP version of the description.
First of all, Apache now mainstream two version is 2.2 and 2.4, the function difference is not much said, the main say and PHP collocation. For apache2.2 can match the version of php5.3.x and php5.4.x, when choosing PHP use, be sure to note that the downloaded PHP directory must have "Php5apache2_2.dll" file, because in the configuration Apache "apache2.2\ Conf\httpd.conf "LoadModule in File" LoadModule php5_module "C:/php/php5apache2_2.dll" "must be php5apache2_2.dll, or it will appear" the Requested operation has failed! " of errors. For apache2.4 the same, only "LoadModule php5_module" C:/php/php5apache2_4.dll use is 2_4.
The following PHP version, download the address http://windows.php.net/download/, you may find a download of NTS version and TS version, such as:
VC9 x86 Non Thread Safe
What is the difference between the two, in simple terms non-thread-safe and IIS with the environment, Thread-safe thread safety and Apache with the environment this we must pay attention to, or with the wrong version, Apache can not start, Also in the future the download of the extension library has NTS with TS different versions of the download is to correspond.
In addition, php5.5.x version can only match with apache2.4, has not supported 2.2 need attention