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

EbrahemSamer's avatar

How to Solve Internal Server Error PHP ?

Sometimes when I refresh the page or make any request in my website on bluehost server, I got "Internal Server Error 500"

How to stop this error and if this error because the request on the server hot reduce it or optimize it ?

0 likes
6 replies
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

Check laravel.log in /storage/logs just as it happens

If there is nothing there, you can check the webservers log instead

Snapey's avatar

How to Solve Internal Server Error PHP ?

  • Track down bug
  • Reproduce bug
  • Fix bug

were you expecting a better answer based on what information you have shared?

MRJAHID's avatar

Run Your Php Server then off on laravel thats it.

EbrahemSamer's avatar

I meant in general, I am not seeking to a specific answer. I wanted to know because of what this error occurs ? thanks. @snapey

Sinnbeck's avatar

Did you find the error in there? It might be in either php error log or nginx/apache log :)

Please or to participate in this conversation.