abhijeetwebdev
abhijeetwebdev

Reputation: 396

Lumen error on 'php artisan serve' command

I have installed Lumen using composer command. I'm getting an error while starting the server, the command is php artisan serve

Error:

[Symfony\Component\Debug\Exception\FatalErrorException]  
Class 'Memcached' not found

I have installed Memcached still, it's not working.

Upvotes: 1

Views: 3682

Answers (1)

abhijeetwebdev
abhijeetwebdev

Reputation: 396

I have found that we can not use all Artisan commands with Lumen. php artisan serve command is only available for Laravel app to start the server. To start the Lumen app we have another command: php -S localhost:8000 -t public

Upvotes: 3

Related Questions