|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #65797 pthreads bundle with future PHP versions?
Submitted: 2013-10-01 10:04 UTC Modified: 2013-10-01 11:22 UTC
From: worldoffame at hotmail dot com Assigned: krakjoe (profile)
Status: Closed Package: pthreads (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
19 - 3 = ?
Subscribe to this entry?

 [2013-10-01 10:04 UTC] worldoffame at hotmail dot com
This is another request to bundle highly useful PECL extensions into PHP core. Multithreading is available in pretty much all popular programming languages, while in PHP you have to install this functionality through PECL. Problem is, if you are a software developer like me creating a script for client users who are mostly Shared Hosts or VPS users, they wont be able to install PECL extensions. I hope to see pthreads being integrated into PHP core by PHP 5.6, and no later than PHP 5.7. Lemme know if anyone mind responding to this request. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-01 11:22 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2013-10-01 11:22 UTC]
There is nothing for pthreads to gain by being bundled.

The default installation of PHP on unix systems is not thread safe, this is not how the majority of people have PHP installed, even if pthreads were bundled it couldn't possibly be loaded in the majority of setups.

So, we have to conclude that there is nothing to actually gain by bundling.

I agree it's a bit of a pain that you have to install using PECL, but it's a double edged sword; you are now able to encourage your clients to use cutting edge technology, the best versions of PHP, and you can pitch in with QA.

Sorry, but we simply cannot comply.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jun 15 12:01:23 2021 UTC