php artisan stuck if you have another php artisan running in background
Yes, I have detected that php artisan is stuck if I have another php artisan running in backgroup. For example I run: php artisan horizon & and then trying to php artisan migrate or just php artisan to bring whole list of options didnt work. Just freeze until I stop php artisan horizon. And then I can work with php artisan migrate. Any idea of what's happening? I'm using docker image php:8-apache. I wonder it could be related to php. I will tell you if I found out what is.
@emiliosh Does it return to the shell after you run the first command? (you should see the name of the container and user). Try hitting ctrl + c and then run php artisan horizon:status to see if it is running. If so you can now run another command.
What docker set up are you using ? Sail or similar?
@Sinnbeck no, it is based on php:8-apache custom image. But I know what it is. The problem was my PHPStorm listening for xdebug, when I stopped it the problem is solved. Thanks for your responses.