octane:start

Start the Octane server

Options

  • server - The server that should be used to serve the application Optional
  • host - The IP address the server should bind to Optional
  • port - The port the server should be available on [default: "8000"] Optional
  • admin-port - The port the admin server should be available on [FrankenPHP only] Optional
  • rpc-host - The RPC IP address the server should bind to Optional
  • rpc-port - The RPC port the server should be available on Optional
  • workers - The number of workers that should be available to handle requests Optional
  • task-workers - The number of task workers that should be available to handle tasks Optional
  • max-requests - The number of requests to process before reloading the server Optional
  • rr-config - The path to the RoadRunner .rr.yaml file Optional
  • caddyfile - The path to the FrankenPHP Caddyfile file Optional
  • https - Enable HTTPS, HTTP/2, and HTTP/3, and automatically generate and renew certificates [FrankenPHP only] Optional
  • http-redirect - Enable HTTP to HTTPS redirection (only enabled if --https is passed) [FrankenPHP only] Optional
  • watch - Automatically reload the server when the application is modified Optional
  • poll - Use file system polling while watching in order to watch files over a network Optional
  • log-level - Log messages at or above the specified log level Optional
php artisan octane:start [--server [SERVER]] [--host [HOST]] [--port [PORT]] [--admin-port [ADMIN-PORT]] [--rpc-host [RPC-HOST]] [--rpc-port [RPC-PORT]] [--workers [WORKERS]] [--task-workers [TASK-WORKERS]] [--max-requests [MAX-REQUESTS]] [--rr-config [RR-CONFIG]] [--caddyfile [CADDYFILE]] [--https] [--http-redirect] [--watch] [--poll] [--log-level [LOG-LEVEL]]