Apache Setup and PHP version selection

Source: Internet
Author: User

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


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.