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?
Asked
Active
Viewed 57 times
1 Answers
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

Community
- 1
- 1

Alexey Mezenin
- 158,981
- 26
- 290
- 279
-
1Instead of copying the answer, mark it as possible duplicate. – Robin Dirksen May 18 '16 at 09:39
-
@RobinDirksen, I didn't copied. Wrote the answer then remembered I've answered similar question and added cache clear commands and link to old answer. – Alexey Mezenin May 18 '16 at 09:41