wordpress 500 internal error

Avatar
  • Answered
I've been experiencing this problem for some time. I had an old wordpress that's been giving me random 500 internal errors when trying to access update, plugin, or themes associated PHPs. Then I tried setting up a new and fresh wordpress thinking it will resolve all 500 errors. But running the install sends me straight to a 500 internal error page again.

The only error log I got in my control panel are:

[Sat Oct 25 13:24:45 2014] [error] [client 58.35.208.85] File does not exist: /home/sonax25/public_html/500.shtml
[Sat Oct 25 13:21:55 2014] [error] [client 58.35.208.85] File does not exist: /home/sonax25/public_html/500.shtml


my domain is www.sonx2k.com, and php files are stored under /php folder. The newest wordpress I'm trying to setup is under /php/novus-press.

Can you guys take a look into my site to see what might be causing this weird issue? my other php works fine, just wordpress. Even the wordpress created using control panel Softaculous experience 500 internal error as well when trying to access plugin, theme, etc. PLEASE HELP.
Avatar
Scott
Hello, I took a look at your account to see what version of php you are running. You have your account set to run 5.2. For newer applications, you will need to upgrade the version your account is running. The default version on the server is 5.4.33. To change this, you simply need to go to your home directory (the one above the public_html folder) and change the following line of code:
AddHandler application/x-httpd-php52 .php
To this:
AddHandler application/x-httpd-php5 .php
This will make the account run the default version instead of the 5.2 it was running. The 500 errors should then disappear. You can always change the version of php you are running on your account or even use multiple versions in your account for different applications. Kindest Regards, Scott M