How to install pcntl_fork in WINDOW7

Source: Internet
Author: User
How to install pcntl_fork in WINDOW7? My computer is window7 now. this pcntl_fork () function is not easy to use! What should I do? Need to install it? How to install it? How to install pcntl_fork in WINDOW7
In Windows 7, how does one install pcntl_fork? My computer is window7 now. this pcntl_fork () function is not easy to use! What should I do? Need to install it? How to install it?


------ Solution --------------------
------ Solution --------------------

PHP process control supports Unix process creation, program execution, signal processing, and process interruption. Process control cannot be applied to the Web server environment. when it is used in the Web service environment, unexpected results may occur.

This document describes the common usage of each process control function. For more information about Unix process control, see fork (2), waitpid (2), signal (2) in the system documentation) for example, advanced programming in Unix environment (author: W. richard Steven S, Addison-Wesley ).

PCNTL now uses ticks as the callback mechanism for signal processing. ticks far exceeds the previous processing mechanism in terms of speed. This change follows the same semantics as "user ticks. You can use the declare () statement to specify the location where callback is allowed in the program. This minimizes the overhead of asynchronous event processing. Enabling pcntl during PHP compilation will always bear this overhead, regardless of whether or not pcntl is actually used in your script.

One adjustment is that all the pcntl scripts before PHP 4.3.0 need to make them work, either use declare () in the (code) part of the callback that is expected to be allowed, or use declare () the new global syntax makes it valid throughout the script range.

Note: this extension is not available on Windows.

------ Solution --------------------
Windows does not support pcntl_fork!

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: 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.