samedi 23 juillet 2016

how to set Laravel 5.1 project url?

I am using Laravel 5.1 , when I want to use laravel in localhost ( wampserver) I can access to my project by this address :

by running php artisan serve command : http://localhost:8000

and in this way every thing is ok and all packages work well ! but when I do not want to run php artisan serve I can access to project by removing public from url by this way by this address : http://localhost/myblog and also I can upload my project on shared hosting easily ! but I have big problem here ! when I want to use filemanager package or other packages , I noticed that thay can not recognize project url. for example they consider http://localhost is the project's url ! how can I fix this ? I don't want to use SSH and run composer on hosting !



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire