laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.75k stars 291 forks source link

Argument #1 ($server) must be of type string, null given #309

Closed maher1337 closed 3 years ago

maher1337 commented 3 years ago

Description:

I'm using a fresh installation of swoole and laravel octane, however I keep getting the following : ``` Laravel\Octane\Commands\StartCommand::invalidServer(): Argument #1 ($server) must be of type string, null given, called in /var/www/app-beta.omnee.ca/html/vendor/laravel/octane/src/Commands/StartCom
mand.php on line 45



### Steps To Reproduce:
A fresh installation on Ubuntu 20.04
maher1337 commented 3 years ago

The solution to this was to clear the bootstrap cache from terminal as somehow it didn't want to clear using artisan commands.