What does internal server error mean?

  When accessing a webpage, an internal server error error occurs, which means a network service error. This error can be caused by many reasons. If you are just an ordinary visitor, this has nothing to do with you. If you are the website owner, you can check it in the following ways.

What does internal server error mean?  How to do?

  1 The server resources are overloaded.

  If you find that a process consumes too much resources, you can use the kill command to force the process to close, just enter the process number of the process

  2. The file permissions are set incorrectly

  Then the permissions of background directories and files should be 755 by default, while html files such as pictures and text should be 644, so if there is a 500 error after just uploading the file, you should mainly check the file permission settings.

  You can use FTP software to select all files, and then modify file permissions in batches.

  3 .htaccess file writes wrong code

  When using some wordpress SEO plugins, the plugin will rewrite the .htacess file, and if the syntax is wrong, it may cause a 500 error!

  In the .htaccess file, it may be because of adding some code that conflicts with the source file. So in order to detect erroneous statements, the best way is to add comments to the statements to verify them one by one. Because after the comment, the statement doesn't work anymore.

  Add "#" in front of the statement one by one, such as

  DirectoryIndex default.html

  AddType application/x-httpd-php5 php

  You can add # to the command to achieve a comment effect:

  DirectoryIndex default.html

  #AddType application/x-httpd-php5 php

  This method can quickly locate the wrong command. If you can't find the wrong paragraph, you can try to add comments to all the commands and then delete them one by one. #Check for errors!

  After judging the wrong statement, you can delete # to return to normal!

  Original text: http://www.285868.com/jiaocheng/jpc/show-12600.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326049292&siteId=291194637