Artisan.page

octane:start

Start the Octane server

Terminal
php artisan octane:start [--server [SERVER]] [--host [HOST]] [--port [PORT]] [--rpc-host [RPC-HOST]] [--rpc-port [RPC-PORT]] [--workers [WORKERS]] [--task-workers [TASK-WORKERS]] [--max-requests [MAX-REQUESTS]] [--rr-config [RR-CONFIG]] [--watch] [--poll]

Options

hostOptional

The IP address the server should bind to

max-requestsOptional

The number of requests to process before reloading the server

pollOptional

Use file system polling while watching in order to watch files over a network

portOptional

The port the server should be available on [default: "8000"]

rpc-hostOptional

The RPC IP address the server should bind to

rpc-portOptional

The RPC port the server should be available on

rr-configOptional

The path to the RoadRunner .rr.yaml file

serverOptional

The server that should be used to serve the application

task-workersOptional

The number of task workers that should be available to handle tasks

watchOptional

Automatically reload the server when the application is modified

workersOptional

The number of workers that should be available to handle requests