1

I have a Laravel 5 project into WAMP and it is working in localhost:8000. I need to setup this project into staging server. So the URL will be like 156.34.22.11/example/laravel/public. How to setup my project into other server?

Nuju
  • 322
  • 6
  • 17

1 Answers1

0

Point web server to a public directory, restart web server. Set correct permissions on a storage directory. If you're using Linux:

chmod -R 775 storage

Run composer update command and clear the app cache:

php artisan cache:clear
php artisan route:clear
php artisan config:clear
php artisan view:clear

https://stackoverflow.com/a/37259162/1227923

Community
  • 1
  • 1
Alexey Mezenin
  • 158,981
  • 26
  • 290
  • 279