Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

localhost http 500 internal server error

Sometimes, the localhost that i am using gave me that "http 500 error" whenever i try to access it. But, restarting the computer solved that problem and I could access my files, until today. Today, even though i have changed nothing with my codes(same as yesterday), I cannot access my localhost and phpmyadmin even if i restart the pc. How can i solve it? what went wrong? I dont think that the problem is about my code structure because if it was I could not access localhost yesterday(I changed nothing)

like image 879
user893970 Avatar asked Jan 31 '12 21:01

user893970


People also ask

How can I fix 500 error in php?

The 500 error can go away by increasing the values set for the max_execution_time and the memory_limit settings. Setting the file permission to 644 or 755 can help in resolving the 500 internal server error. You can try removing the recent code changes to see if the 500 error goes away.


1 Answers

Check the error log, it should have a more detailed description of the error. If you're using Apache look for a file named error.log probably in a folder called log

like image 146
Halcyon Avatar answered Oct 07 '22 09:10

Halcyon