PHP Implementation Multithreading Issues

Source: Internet
Author: User
I want to use PHP to implement multi-threading, mainly to clean up some outdated data. However, PHP does not support multithreading. How to solve it? I use the Apache server ~ ~


Reply to discussion (solution)

PHP Try curl with curl to support multithreading

I suggest you do it with Linux cron, it's easier.

PHP Try curl with curl to support multithreading

There is an example ~ ~

I suggest you do it with Linux cron, it's easier.

The words I developed with Win7.

Reference 2 floor Sibang reply: Suggest you use Linux cron to do, relatively simple words I use WIN7 development.

With what?? , you can put it on a Linux server when it's officially running.

PHP visual itself does not support multi-threading, the Internet is said that multi-threaded is actually multiple requests, by those rookie mistakenly think is multi-threaded ~

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