will php/apache ever support multi threading? [closed]
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this questioni mainly focus on the web, i think i will never create desktop applications.
so i think it's better for me to focus on typical web languages like php.
i know an advantage java has over php is multi threading though.
will php ever support this feature in the future?
t开发者_StackOverflow社区hanks
Technically, Apache does support multithreading with its workers. However, PHP does not appear to be introducing better threading support in PHP 6, so you shouldn't count on it.
See this mailing list post for the source.
The better question to ask is why you would possibly need more than one thread to service a single HTTP request.
精彩评论