문제

How can I see the Laravel view without an artisan command CLI. I don't have CLI from my hosting provider, I only have access to FTP, to run Laravel I have to use this command in CLI:

php artisan serve --port=8080 --host=0.0.0.0

How can I get the view without this command?

Thanks.

도움이 되었습니까?

해결책

php artisan serve is not ment for use in production environments because it uses PHP5 build in webserver. If you're with a hosting provider, they probably run Apache and you can just serve your app via Apache.

Have a look at the documentation on php.net if you want to know more about the build in webserver.

PHP applications will stall if a request is blocked.

This web server was designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server. It should not be used on a public network.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top