
Have Friends experienced http Error 500 On Vps/Wordpress, or visitors who want to view your website can’t because the http Error 500 message appears. This error is usually caused by cache in your browser, cache on vps, wrong php installer and spell errors on wp-config.php, is wrong or something has been deleted. You can see How To Install php Module and php extension.
Http Error 500 is different from internal Error 500, so the handling and source of the problem is the same and also different. If http error 500 caused by cache in Browser, Cache in Vps, php installation and spell errors in wp-config.php while internal error 500 /443 mostly cache problems in Limit php, cache Browser, php version is too old and most cases in .htaccess. You can see the Internal Server Error 500/443 Solution on WordPress.
Now let’s first discuss How To Fix http error 500 and the steps we have do.
1. Clear Cache in Browsers that you often use to open WordPress admins such as Chrome/Firefox, Edge, etc.
2. Clear Cache and clean Consule Vps From unused packages, cache, and broken Install (If using a vps) enter the terminal and follow the following command ;
sudo su
apt-get update
apt-get clean
apt-get -f install
apt-get autoclean
apt-get autoremove
3. Check wp-config.php if any spell/command is wrong or deleted, and if the command is correct then the text will be orange ( except wp_debug) for wp_debug I intentionally didn’t activate it..
sudo su
nano /var/www/html/wordpress/wp-config.php


See the third picture to be exact on “DB_NAME” ,’wordpress is not orange because it lacks a ‘ sign. After I add a ‘sign, the website can accessed again. Be careful when editing the wp-folder because there could be only one spell or command wrong or the command is correct but lacking.,'”, space., an error will occur.
Note*** “wordpess” adalah nama wp-folder saya, bila kalian tidak tahu nama wp-folder kalian ikuti command ini ;
cd /var/www/html
ls

See what your wp-folder name is if your wp-folder’s name “wordpress” (the blue one) follow step no 3, if your wp-folder name is for example wp-admin, you just change it to ; nano /var/www/html/wp-admin.

How Can it be understood here? In most cases http error 500 is an error in wp-config.php. You can see How To Install WordPress with using Lamp, How To Install SSL Certificate and much more all about Problems in WordPress and On Linux.
1 thought on “How To Fix Http Error 500 On Vps WordPress”