所以我已经完成了php -S localhost:8000,但我不再需要它,我需要我的8000本地主机.如何停止php服务器? PHP 5.4.0 Development Server started at Thu Jul 21 10:43:28 2011
Listening on localhost:8000
Document root is /home/me/public_html
Press
所以我已经完成了PHP -S localhost:8000,但我不再需要它,我需要我的8000本地主机.如何停止PHP服务器?
解决方法
PHP 5.4.0 Development Server started at Thu Jul 21 10:43:28 2011
Listening on localhost:8000
Document root is /home/me/public_html
Press Ctrl-C to quit.
如果您没有打开该终端,则必须找到该进程的PID并将其终止.
要找到PID并终止进程,here is a nice explanation.