Skip to the content
Documentation

exp:webserver

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

Control the Exponential web server (php, frankenphp or qbix engines); what writes is a dry run unless --apply

Usage

./console exp:webserver [options]
php bin/php/webserver.php [options]

Options

Option Value Description
--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 -  

Arguments

[command]

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/webserver.php, kernel/private/classes/commands/webserver.php

See also

Generated example: exp:webserver

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.