gecche / laravel-multidomain

A Laravel extension for using a laravel application on a multi domain setting
MIT License
838 stars 105 forks source link

--domain option not exist #111

Closed EverybodyBusiness closed 5 months ago

EverybodyBusiness commented 5 months ago

I am using two Ubuntu servers 22.04, and one of them is working fine using this package. When I run php artisan list, I can check the --domain option as shown in the image below.

image

Both servers are using PHP 8.2 and Laravel 9. However, when I run php artisan list on a newly installed server, there is no --domain option as shown in the image below.

image

I would appreciate it if anyone could tell me a solution.

EverybodyBusiness commented 5 months ago

Both servers are using gecche/laravel-multidomain 5.0

gecche commented 5 months ago

Hi,

I'm sorry but I can't help you based on those info, because if on one server works and on another server does not work, I guess you have missed some step in the installation process. Maybe you missed to change the Console Kernel or to extend the main container in bootstrap/app.php? Because if the --domain option does not appear probably one of these two is missing.

Cheers

Giacomo