I'm having an issue where I'm unable to run the "php artisan serve" command. It started happening when I made a new project in laravel and now won't proceed past the following:
C:\myproject>php artisan serve
Starting Laravel development server: http://127.0.0.1:8000
[Mon Oct 12 20:01:04 2020] PHP 7.4.10 Development Server (http://127.0.0.1:8000) started
I've tried the following and got the same result.
C:\myproject>php -S localhost:8000 -t public/
[Mon Oct 12 19:57:18 2020] PHP 7.4.10 Development Server (http://localhost:8000) started
I've also tried the following:
I've update composer (once regularly, once after removing the vendor folder) in case there was any issue there.
I ran a diagnostic to see if there were any issue but everything came back okay. Before I made the second project, I never had an issue in the slightest.
The same issue is occurring across multiple projects. I've tried removing the new directory to see if the original would work as it was before adding the new project, but that didn't work either.
I never had a problem with this previously, the serve would load almost instantaneously, so I think I must have broken something somehow. Any help would be awesome, running out of ideas!
/var/www/laravel8$ php artisan serve
Starting Laravel development server: http://127.0.0.1:8000
[Mon Oct 12 11:21:39 2020] PHP 7.4.11 Development Server (http://127.0.0.1:8000) started
Well that's embarrassing. My browser wasn't loading the page before, but is working perfectly fine now. I just assumed because it had the same message it wasn't working. Wasted way too much time on this. At the very least i learned some troubleshooting skills :')