Internal webserver can be started multiple times on the same port
Aperta
@devnexen ci sta già lavorando.
Dal 26/12/2023.
Bug
OS: Windows
SAPI: cli_server
Status: Needs Triage
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.2k
- Merge medio
- 2g 13h
- PR unite (30g)
- 96
Descrizione
Description
The following code:
php.exe -S 127.0.0.1:8080 -t .
Resulted in this output:
[Mon Dec 25 16:36:46 2023] PHP 8.3.0 Development Server (http://127.0.0.1:8080) started
But I expected this output instead:
error if another server is already started on the same port
IDK if this is only a Windows issue, but I would expect php webserver to require listening port exclusively on any OS.
PHP Version
any (tested 7.4 and 8.3)
Operating System
Windows
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.