Reputation: 431
I have used the Laravel 5.1 php framework to build a web application on my local XAMPP server.
.env
file at the root be uploaded?Upvotes: 2
Views: 1622
Reputation: 46
Move All the files on xyz(your folder name for which domain/subdomain is mapped) folder
Then follow these steps
Go to public folder
Copy .htacsses file
Paste it in xyz folder
Change server.php to index.php
Enjoy and happy coding
This is working fine with hostgator.in shared hosting.
Upvotes: 2
Reputation: 33387
All project files should be uploaded under project root \var\www\project
(project = all laravel project folder and files and \var\www\project\public
is where your domain pointing.
Storage should have write permission.
.env
will be under project root and it is not available for public access.
.env
won't be accessible for public, if it is then you have a configuration problem with you web server.
Upvotes: 3