Loading...

PHP Pthread with wamp/xampp

PHP Pthread with wamp/xampp
This tutorial will help you configure your wamp/xampp server with PHP Pthread library.
The video ends with an example that prints thread ids.

https://github.com/krakjoe/pthreads#requirements

RRelated Posts

Parallel PHP

A screencast being used to develop a lightening talk for 2015 UK conference

How to execute part of PHP code Asynchronously

We will discuss about executing time consuming part of PHP scripts asynchronously via socket connection. This method is very simple and greatly increase the performance of your web applications. View

pthreads #1: Introduction

Demo creating a thread in Linux to add up some numbers. Pass values to thread function as a pointer, return answer as a global variable. Full code can be found at

CComments

  • Isabella Cris
    When I am trying to configure pthread as per your guidence I am getting "Fatal error: Class 'Thread' not found in C:\wamp\www...". I am using WAMP server. Please provide any idea to fix it out. Thanks Isabella www.e-weddingcardswala.in
  • Cesar Devesa
    (•‿●)✌ tks
  • 刘彬
    thanks:)
  • Ali Mehdi
    thanks.. it helped