Moving Laravel 5.6 from local machine to live server
- Zip your laravel app files.
Laravel default installation has over 6000 files, it’s recommended that you zip your files
then unzip it in your Cpanel Web Explorer.
- Export your app’s database then set it up on your server.
- After you have uploaded your laravel app files, open the .env file found on the root
directory of your laravel app.
Update the database credentials and the APP_URL.
- Open your .htaccess file, then add the following line just bellow RewriteEngine On:1RewriteBase /
- That’s it!, now check your live site.
- If you are getting 403 Forbidden Access or 500 Internal Server message, try changing
the permissions of your storage folder found on the root directory of your laravel app.
Set the permission to 0777.
- If you are still having issues, contact your hosting.
Do you need help with a project? or have a new project in mind that you need help with?Contact Me