PHP Artisan Serve Not Working | PHP Artisan Serve Not Working Laravel | php artisan serve is not running By this problem can i use this " php -S localhost:8000 -t public/ "
i used this instead of that command php -S localhost:8000 -t public/
PHP Artisan Serve Not Working | PHP Artisan Serve Not Working Laravel | php artisan serve is not running By this problem can i use this " php -S localhost:8000 -t public/ "
i used this instead of that command php -S localhost:8000 -t public/
Your project is installed on xampp. If you intend to install Laravel on xampp, read the following guide:
Laravel Xampp Setup (Windows & Mac)
Otherwise, proceed as follows: In general, there is no need to install Laravel on xampp. You can install your Laravel project in another part of your computer. Then use the above command in the Windows command line and using the cd command by going to the desired folder.
For example, I install my Laravel project as follows:
1- Installing PHP, MySQL and Apache(you can use xamppor wamp or any other program similar to these two programs or manually install and run these items in your system)
2- Composer installation (when installing Composer, you must choose the PHP installation location.) Installation - Windows
3-Then open the command line in any part of your computer and enter the following command.
4- After completing the installation, enter the following command to enter the Laravel installation folder:
cd/Test5-now run the command
php artisan serve