简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM