Jump to content

[Solved] 500 Internal Server Error - PHP is not interpreted


genesis

Recommended Posts

Hi there!

I'm trying to run a simple php file (see attachment), but I'm getting the following:

_____

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@mojica.heliohost.org 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.

_____

 

Please help.

index.php

Link to comment
Share on other sites

For future reference @genesis, most 500 errors are caused by either file permissions or .htaccess errors.

 

If you upload over SFTP, the file permissions are changed from 644 to something else. You must change these back to 644.

 

After you have done this, if you still get a 500 error, rename your .htaccess to something else. If the website then works, you know it's a problem with your .htaccess.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...