コマンドを実行しようとします。phpスレッドでサーバを起動できません
php -S localhost:8000 -t public
それは次のようなメッセージ
[Wed Aug 16 23:04:41 2017] PHP Fatal error: The cli-server SAPI is not supported by pthreads in Unknown on line 0
Fatal error: The cli-server SAPI is not supported by pthreads in Unknown on line 0 [Wed Aug 16 23:04:41 2017] PHP Fatal error: Unable to start pthreads module in Unknown on line 0
Fatal error: Unable to start pthreads module in Unknown on line 0 [email protected]:~/workspace/distance$ php -S localhost:8000 -t public [Wed Aug 16 23:05:44 2017] PHP Fatal error: The cli-server SAPI is not supported by pthreads in Unknown on line 0
Fatal error: The cli-server SAPI is not supported by pthreads in Unknown on line 0 [Wed Aug 16 23:05:44 2017] PHP Fatal error: Unable to start pthreads module in Unknown on line 0
Fatal error: Unable to start pthreads module in Unknown on line 0
そのための可能な理由は何であるのか?
pthreadsはApacheではサポートされていません! – zoubida13
php -Sを起動する場所でpthreadの読み込みを削除できますか? –