質問

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