PHP how to fix segmentation fault when call fclose?

五迷三道 提交于 2019-12-02 13:16:32

You have passed a stream with crypto enabled to thread, it's mentioned in documentation that while pthreads will pass a stream resource to another thread, it cannot provide safety for that stream. In the case of a crypto enabled stream, the underlying openssl objects are not thread safe.

pthreads is obsolete, use http://php.net/parallel which is actively developed and supported.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!