PHP Windows 上带有 pthreads 3.1.5 的 7.0.0 无法启动
PHP 7.0.0 with pthreads 3.1.5 on Windows can't start
当尝试在 Windows 7 系统上使用 pthreads 3.1.5 (x64) 启动 PHP 7.0.0 (VC14 x64 Thread Safe 2015-Dec-03 20:07:26) 时,我收到此错误消息:
php-cgi.exe -b 127.0.0.1:8745 -c php.ini
PHP Fatal error: The cgi-fcgi SAPI is not supported by pthreads in Unknown on line 0
PHP Fatal error: Unable to start pthreads module in Unknown on line 0
从 php.ini 删除 pthreads 后,一切恢复正常,PHP 7.0.0 正常工作。
任何让它从 pthreads 开始的帮助将不胜感激!
pthreads 仅在 PHP 7 之后的命令行上受支持:
This release disables pthreads in all but the CLI SAPI.
After many years of advising that multi-threading at the frontend doesn't make sense, I'm promoting the advice to hard and fast fact.
当尝试在 Windows 7 系统上使用 pthreads 3.1.5 (x64) 启动 PHP 7.0.0 (VC14 x64 Thread Safe 2015-Dec-03 20:07:26) 时,我收到此错误消息:
php-cgi.exe -b 127.0.0.1:8745 -c php.ini
PHP Fatal error: The cgi-fcgi SAPI is not supported by pthreads in Unknown on line 0
PHP Fatal error: Unable to start pthreads module in Unknown on line 0
从 php.ini 删除 pthreads 后,一切恢复正常,PHP 7.0.0 正常工作。
任何让它从 pthreads 开始的帮助将不胜感激!
pthreads 仅在 PHP 7 之后的命令行上受支持:
This release disables pthreads in all but the CLI SAPI.
After many years of advising that multi-threading at the frontend doesn't make sense, I'm promoting the advice to hard and fast fact.