Apache build and php version selection

Source: Internet
Author: User
Tags vc9
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.