Closed obrunsmann closed 3 years ago
use
php artisan octane:reload --server=swoole
Oh my. Yes, that was the solution. Thank you.
I just did some more research on why this doesn't happen to me on another project, is also already running on Octane. The info for those who may encounter the same problem:
I actually just didn't change the server
configuration in the config/octane.php
to Swoole:
'server' => env('OCTANE_SERVER', 'roadrunner'),
and then run octane with
php artisan octane:start --server=swoole
So the best solution is to set the config octane.server
to swoole or alternatively to work with the CLI argument --server swoole
.
php artisan octane:reload
checks for the octane.server
config to decide which server needs the reload.
Description:
In a new Laravel app that is still pretty empty, I installed Octane/Swoole. The first 2-3 deploys worked great, now I get the following message when I run
php artisan octane:reload
:Runs on a freshly created ubuntu 20.04 LTS
Run command: