I'm using PHP built in server like so:
$ composer serve
> php -S localhost:8000 -t public/
But it timed out..?
[Symfony\Component\Process\Exception\ProcessTimedOutException]
The process "php -S localhost:8080 -t public/" exceeded the timeout of 300 seconds.
So, I tried to start it up again:
$ composer serve
> php -S localhost:8000 -t public/
[Thu May 26 21:31:51 2016] Failed to listen on localhost:8000 (reason: Address already in use)
Script php -S localhost:8000 -t public/ handling the serve event returned with error code 1
Why is the same port that the server was running on prior to timing out still in use? Can I stop all instances of PHP built in server?
If it matters, below is my composer.json file:
{
.
.
.
"scripts": {
"serve": "php -S localhost:8000 -t public/"
}
}