Quickly get Octane running on Laravel Forge
- Spin up a new App server, choose PHP 8
- SSH into it and run
sudo -i
to become root - Run
pecl install swoole
and enable what you need. (I disabled curl as it did not work for me) - Add a new site to your server and use git to pull in your Laravel project that has Octane installed.
- Go to "Network" within the overall server settings
- Add new Firewall rule
- name: Swoole
- port: 9501