Having internal server errors while executing simple index.php on your server? Here is how to fix it!
So you want to start your website, everything is set up on your web server, all look good but PHP is not executed, even simple <php echo "test"; ?>
does not work and you are getting error like this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request
The problem is most likely the permission settings of your folder, try to change it to 750:
chmod -R 750 public_html
And boom, it works.
That is it.
Finito.
Done.
😁