Laravel-维护模式页面未显示
Laravel-Maintenance Mode Page Not Showing
请看图片。
The command php artisan down is working but when i access thru the browser, the maintenance page not showing up.
我正在使用 laravel 5.4。
请Help.Thanks.
那是因为你没有 运行 artisan
命令在 127.0.0.1
上创建项目 运行 所以你需要 运行 下面的命令 [=15] =]
php artisan serve
检查主机 127.0.0.1:8000
如果没有 运行ning 这个命令,你可以在浏览器 link 下面的 运行ning 下查看
localhost/laravel/laravel/public
您还可以将端口号从 8000
更改为 8080
或您选择的
php artisan serve --port=8080
所以在 运行 执行此命令后,您的项目将托管在虚拟主机上 127.0.0.1:8080
请看图片。
The command php artisan down is working but when i access thru the browser, the maintenance page not showing up.
我正在使用 laravel 5.4。
请Help.Thanks.
那是因为你没有 运行 artisan
命令在 127.0.0.1
上创建项目 运行 所以你需要 运行 下面的命令 [=15] =]
php artisan serve
检查主机 127.0.0.1:8000
如果没有 运行ning 这个命令,你可以在浏览器 link 下面的 运行ning 下查看
localhost/laravel/laravel/public
您还可以将端口号从 8000
更改为 8080
或您选择的
php artisan serve --port=8080
所以在 运行 执行此命令后,您的项目将托管在虚拟主机上 127.0.0.1:8080