Yawning Milk Yawning Milk - 1 year ago 96
PHP Question

Stop running PHP server, command line

So I've done

php -S localhost:8000
, but I don't need it anymore, I need my 8000 localhost back. How to stop the php server?

Answer Source
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.

If you don't have that terminal open, you have to find the PID of the process and kill that.

To find the PID and kill the process, here is a nice explanation.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download