Skip to content

Dev Server command argument order issue undocumented #4587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
upstageleft opened this issue Apr 7, 2025 · 0 comments
Open

Dev Server command argument order issue undocumented #4587

upstageleft opened this issue Apr 7, 2025 · 0 comments

Comments

@upstageleft
Copy link

From manual page: https://php.net/features.commandline.webserver


When invoking the command line development server, if using a routing script, the script file or path MUST be specified AFTER the -t argument specifying the document root path, if both are being used. Reversing the order of these arguments causes failure to serve requested resources unless explicitly included, read, or fileread by the script.

I could not find anything on https://php.net specifying this or indicating any issue.

Environment:
MacBook Air 2025 - M4
PHP v8.4.4
MacOS 15.4 (24E248) Sequoia
Firefox 136.0.4
Chrome 135.0.7049.42 (Official Build) (arm64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant