Matomo Analytics

Laravel Octane is a high powered application server specially designed for Laravel applications. You can either use Swoole or Roadrunner to run this application server with.

Running Laravel Octane in Ploi is a breeze. Head over to your site with Laravel Octane installed, if you do not have Laravel Octane installed yet in your project head over here to get started with that first. Your sites project type has to be set to "Laravel" to be able to do this, you can do that in the Settings tab.

Next press the Laravel tab and then the Octane tab:

You'll see a few options here that you can configure to your likings. Save this and press the "Spawn server" button.

This will spawn the daemon required to run your site on.

Good things to know about this process:

  • When spawning a server, it will completely change your NGINX configuration to make it compatible with the Octane server
  • It will not use PHP FPM, its completely based on PHP CLI
  • It requires PHP 8.0 or higher
  • If you use SSL, make sure to set OCTANE_HTTPS to true in your .env file

14 April 2021 (last updated 3 months ago)

713 views

Back to Laravel