PHP study Notes-questions about the 1-PHP version

Source: Internet
Author: User
PHP learning notes-1-PHP version I. From PHP5.2.10, there are two types of options: None-ThreadSafe and ThreadSafe. 1. None-ThreadSafe is non-thread security, no thread security check during execution; 2. Thre PHP learning notes-1-PHP version problems
I. From PHP5.2.10, there are two versions available: None-Thread Safe and Thread Safe.
1. None-Thread Safe means non-thread security. no Thread security check is performed during execution;
2. Thread Safe is thread security. during execution, the Thread security check is performed to prevent the CGI execution mode of the new thread from consuming system resources when there are new requirements.

2. two PHP execution methods: ISAPI and FastCGI.
1. FastCGI is executed in a single thread, so no thread security check is required. apart from thread security check protection, the execution efficiency can be improved,
Therefore, if you use FastCGI (whether with IIS 6 or IIS 7) to execute PHP,
We recommend that you download and execute non-thread safe PHP (two-step PHP configuration methods are available: msi and zip. please download the zip package ).

2. Thread security check is prepared for PHP in The ISAPI mode. because many php modules are not Thread-Safe, Thread Safe PHP is required.

3. VC9 is a script tailored for IIS that supports the latest Microsoft components to improve efficiency.

4. VC6 is a script provided for other WEB service software, such as Apache

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.