在win server上通过exec调用exe只能单进程么?不能并发调用吗?

WBOY
Release: 2016-06-23 14:13:41
Original
1130 people have browsed it

exe php exec 阻塞 非阻塞 exec

php通过exec调用exe可执行文件都是单进程阻塞式进行的吗?我发现我本机多个浏览器同时请求调用,发现服务器只起一个exe程序。而我是想一次请求就调用一次exe的。请问各位大牛是怎么回事?或有其他的解决办法吗?

回复讨论(解决方案)

没试过 是否 exe自身就有判断

版主大人能不能帮忙解决一下啊?
每次通过php页面请求调用,都是排队使用exe,不管你有多少个php的请求。
php的执行不是并行的吗?为什么在调用exe时变成了串行式调用呢?
是因为采用fast-cgi的机制(所有的请求都在一个进程里处理)的原因吗?

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!