Q
Q
qtcute2016-04-26 13:58:42
Laravel
qtcute, 2016-04-26 13:58:42

Someone faced the problem of deploying a project on Laravel?

Maybe someone can tell me what exactly I'm doing wrong.
For the second day I have been fighting with LAMP (Digital Ocean) & Laravel. The setup seems to be successful and Laravel specifically works in /public/, but after replacing the existing project files with Laravel, this picture appears:
puu.sh/owgFY/3b7c13a823.png Where
to look for a solution to the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Kainazarov, 2016-04-26
@iit

It seems that the hosting dumped the routes on the page, there is an idea that the routes file contains at the beginning <? instead of <?php and the "allow short tags" directive is turned off on the server puff, as a result, instead of connecting and executing the file, its contents fall out.
I can't think of another reason

M
Muhammad, 2016-04-26
@muhammad_97

1. You need to configure the server so that it looks into the public folder
2. The storage and bootstrap folders (as well as all subfolders) need to be set write permissions (755):

chmod -R 755 bootstrap
chmod -R 755 storage

3. Try to re-upload the project

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question