You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-S "<Host>:<Port>" of an HTTP server. Multiple arguments can be accepted.
72
+
-s "<Host>:<Port>" of an HTTPS server. Multiple arguments can be accepted.
73
+
74
+
[Optional]
75
+
-n The number of PHP built-in server clusters, from 1 to 20. Default is 10.
76
+
-t Path for the document root. Default is the current directory.
77
+
-r Path for the router script. Default is empty.
78
+
-c Path for the PEM-encoded certificate.
79
+
Default is "/Users/mpyw/.composer/vendor/mpyw/php-hyper-builtin-server/certificate.pem".
80
+
81
+
Restrictions:
82
+
- The option -s is only supported on PHP 5.6.0 or later.
83
+
- Access logs will not be displayed on Windows.
84
+
85
+
mpyw@localhost:~$
86
+
```
87
+
86
88
## Note for Windows users
87
89
88
90
Unfortunately, `cmd.exe` has no option to run via shebang `#!/usr/bin/env php`, so you need to create the following batch file in the proper directory.
0 commit comments