本文实例讲述了Laravel框架运行出错提示RuntimeException No application encryption key has been specified.解决方法。分享给大家供大家参考,具体如下: 1在项目根目录放置.env文件 .env APP_NAME=Laravel APP_ENV=local APP_KEY= APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=http://localhost DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=homes