在复制文件php_pthreads.dll以激活php 7.2.9中的phpthreads但运行pthreads后,如何修复我的Apache,此错误
5:06:34 PM [Apache] Error: Apache shutdown unexpectedly.
5:06:34 PM [Apache] This may be due to a blocked port, missing
dependencies,
5:06:34 PM [Apache] improper privileges, a crash, or a shutdown by another
method.
5:06:34 PM [Apache] Press the Logs button to view error logs and check
5:06:34 PM [Apache] the Windows Event Viewer for more clues
5:06:34 PM [Apache] If you need more help, copy and post this
5:06:34 PM [Apache] entire log window on the forums
答案 0 :(得分:0)
如果您检查错误日志,则可能是这样的:
“ pthread不支持apache2handler SAPI”。
在这种情况下,请勿将pthreads
与Apache结合使用。尝试使用php命令行interface(cli)
,因为pthreads仅是cli。