Questions tagged [artisan-serve]
22 questions
2
votes
4 answers
Laravel Undefined array key 1 php artisan serve
Undefined array key 1
at D:\App-PHP\xampp_php_8\htdocs\test-project\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:289
285▕ protected function getDateFromLine($line)
286▕ {
287▕ …

akmal990
- 21
- 3
1
vote
1 answer
Laravel PWA not installable on apache
I create a plain laravel 8 project to test pwa by following https://infyom.com/blog/how-to-make-a-laravel-application-pwahttps://infyom.com/blog/how-to-make-a-laravel-application-pwa.
It works as expected When I run it via cmd with php artisan serve…

Larous 2
- 13
- 3
1
vote
2 answers
Php artisan serve in laravel
I am new in laravel development. I am using latest version 9 of laravel, when I write php artisan serve in git bash or in VS code terminal after sometime it gives an error. I attached a screenshot of an error.

Ahil Khan
- 227
- 1
- 4
- 12
1
vote
1 answer
Running php artisan server with LAN host not working
I'm trying to access my Laravel project APIs on my mobile phone. Since both my machine and mobile are under the same Wi-Fi, I'm trying to run the php artisan serve on my LAN like so.
php artisan serve --host=192.167.1.101
This runs fine and I do…

Reading this name is illegal
- 61
- 1
- 6
1
vote
1 answer
Run Laravel phpMyAdmin via php artisan serve
I have a Laravel project running with php artisan serve (no Apache or Nginx) on:
http://localhost:8000/
I have then ran this successfully
composer require phpmyadmin/phpmyadmin
My question is, what additions to Laravel's routing etc. must I do to…

Oliver Williams
- 5,966
- 7
- 36
- 78
0
votes
1 answer
php artisan serve `The provided cwd "" does not exist.` error
when i ran php artisan serve command in laravel root directory
I encounter this error
Symfony\Component\Process\Exception\RuntimeException
The provided cwd "" does not exist.
at…

Mohammad Shahheydar
- 11
- 1
0
votes
1 answer
PHP Artisan Serve Not Working | PHP Artisan Serve Not Working Laravel |
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/

Ramirez
- 1
0
votes
1 answer
Serve laravel dev on local or public IP
I had this working a while ago but it stopped for some reason.
What I want is to access the dev serve on LAN or public IP.
I could do it by serving php artisan serve --host 0.0.0.0.
ifconfig sais inet 192.168.0.150 netmask 255.255.255.0 broadcast…

alex
- 51
- 5
0
votes
2 answers
Laravel serve command doesn't read env variables correctly
I have a Laravel 9.5 and there is an issue with the env variables.
In the project root folder, I have .env file and the content is:
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:key=
APP_DEBUG=true
APP_URL=https://liveurl.com
But when I run it with…

DreamBold
- 2,727
- 1
- 9
- 24
0
votes
0 answers
artisan serve command reads the filenames from public/plugins folder and display filenames on console - Laravel
What has been done to fix this issue:
composer, npm updated. --> didn't solved
new wamp server installed and tried. --> didn't solved
php version 7.4.9, since running artisan serve command on another laravel project, it is running fine without…

Pratik Lalan
- 93
- 1
- 1
- 6
0
votes
1 answer
How to run Laravel schedule command now?
In my kernel.php schedule() in Laravel 8, I have this line.
$schedule->command('exec "cat /var/log/nginx/access.log | grep -v -e "download" -e "danger" -e "/visitor/return" -e "welcome" -e "GET / HTTP" -e "/baby/" -e "/paste/" | awk "{ print $1, $4,…

code-8
- 54,650
- 106
- 352
- 604
0
votes
0 answers
Laravel App running on xampp but not with artisan serve
I am trying to run my app via php artisan serve on PHPStorm IDE but it throws some error that I am unable to understand, When running it via xampp on apache it works like a charm but as soon as I initiate it with php artisan serve it halts then an…

Salman Malik
- 923
- 6
- 24
0
votes
1 answer
Laravel No such file or directory
Kinda new with this Laravel Framework business so bear with me a minute please.
I wanna know why am i getting the following error on my browser every time I run :
$ sudo php artisan serve
Laravel development server started:…

dragoon
- 31
- 1
- 5
0
votes
2 answers
Can i run multiple command with artisan serve laravel?
Is it possible to run some other arrtisan command when we run php artisan serve . at the same time ? Is there any way to do that?

Tushar
- 13
- 3
0
votes
0 answers
shift from localhost to 127 server in laravel
I design my page in localhost which works fine and I include all my paths like that
but when I run my php…

Raja Tayyab
- 29
- 1
- 5