The establishment of the LAMP environment is a very popular framework for web development. However, the corresponding version selection is very important for configuration. I checked the relevant information online today, make some instructions on apache and php versions. First of all, the mainstream apache versions are 22 and 24, so the functional differences are not mentioned much.
The establishment of the LAMP environment is a very popular framework for web development. However, the corresponding version selection is very important for configuration. I checked the relevant information online today, make some instructions on apache and php versions.
First of all, the two mainstream apache versions are 2.2 and 2.4. The difference in functionality is not much to mention. it is mainly about the combination with php. Apache2.2 can be used with php5.3.x and php5.4.x. when using php, make sure that the downloaded php directory contains the "php5apache2_2.dll" file, because in the configuration of apache "Apache2.2 \ conf \ httpd. in the conf file, "LoadModule php5_module" c:/php/php5apache2_2.dll "must be php5apache2_2.dll; otherwise," the requested operation has failed! "Error. Similarly, apache2.4 only uses 2_4 in "LoadModule php5_module" c:/php/php5apache2_4.dll.
The php version is as follows:
VC9 x86 Non Thread Safe VC9 x86 Thread Safe
What are the differences between the two? in simple terms, the non-thread-safe non-thread security and the IIS environment, and the thread-safe thread security and apache environment must be noted, otherwise, apache cannot be started if an incorrect version is used. In addition, the later versions of the extended library will correspond to the different versions of the ts for downloads.
In addition, php5.5.x can only be used with apache2.4, and 2.2 is not supported.