Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP

Mike Zhu
Mike Zhu
1,840 Points

Laravel Deployment to a remote server which runs LAMP

I am now finished a Laravel project and I am preparing to deploy it to the server. I use git to clone my Laravel project from my local server to the remote server. My Laravel version is 5. The server is running Centos7, Apache and PHP 5.4.16. However, the page only shows the website file structure instead of the home page, which shows like this: http://mikemikezhu.me/laravel/laravel_trial/ I am trying to know the correct way to publish my Laravel project. By the way, I don't want to use Forge because it is not free of charge.

1 Answer

The root file tree doesn't appear to show an index.php. Have you pointed your server at the file you want to be your homepage? You can also point it at a directory that houses your public files. I see you have a /public folder.