exp:webserver
Control the Exponential web server (php, frankenphp or qbix engines).
Script bin/php/webserver.php, code in kernel/private/classes/commands/webserver.php. Run it from the installation root, as the user the web server runs as:
./console exp:webserver --help
php bin/php/webserver.php --helpOptions
| Option | Value | Help |
|---|---|---|
--json | Report as JSON, for a caller that is not a person | |
--engine | required | php, frankenphp or qbix for this command only (or several, comma-separated, or --all), instead of the configured default |
--port | required | configure/reconfigure: the port to persist for the engine |
--docroot | required | configure/reconfigure: the document root to persist for the engine |
--https-port | required | configure/reconfigure: the HTTPS port to persist (frankenphp or qbix; php has no TLS) |
--reconfigure | start: resolve and persist the engine/port/docroot/HTTPS port again before running | |
--apply | configure, and the commands that write (config set|unset, cache clear, layout migrate, site|conf|mod, ssl renew, install): make the change; without it they are a dry run | |
--dry-run | the default of configure and the commands that write (kept for scripts); start: show the configuration it would write, without writing or running it | |
--all | start, stop, restart, graceful, kill or status every engine, one after the other | |
--force | install: download again even if the binary is already there | |
--check | install: re-hash the installed binary against its SHA-256 | |
--trust-github-digest | install: accept the digest GitHub publishes when no Sha256 is pinned | |
--from | required | install: take the binary from this file instead of downloading it |
--keep-global | required | |
--https | ||
--no-https |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Arguments: [command].
Related
Generated by ./console exp:help:examples from bin/php/webserver.php, kernel/private/classes/commands/webserver.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.