Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

agahi's avatar
Level 1

Persistant error 500

Hi I have installed Laravel on a remote hosting and my Laravel folder is on the same level as public_html so I always move Laravel/public to public_html and as it is expected I get a 500 error page. I simply change the path to autoload.php and app.php and problem is solved:

$dir = '/home/username/domains/mydomain.com/Laravel/';
require $dir.'bootstrap/autoload.php';

But this time it is different. I still get the error. If I kill the process right before the require line the problem will be solved.

By the way I am on Centos7

Any Idea?

0 likes
2 replies
agahi's avatar
Level 1

I am on Cento7 Which log file you mean? I have looked inside Laravel/Storage/Log and there is no log file there.

Please or to participate in this conversation.