skip to Main Content

I let my host upgrade php version to 7.2 and after that I am getting error 500 message(Internal Server Error) on my wordpress page.
I am using Virtualmin.

When opening error log I get the following:

 [Mon Jan 06 16:04:41 2020] [error] (13)Permission denied: exec of '/etc/httpd/bin/suexec' failed
[Mon Jan 06 16:04:41 2020] [error] Premature end of script headers: php7.2.cgi

I searched for the solution elsewhere but didn’t find any solution.
How can I solve this?

4

Answers


  1. Chosen as BEST ANSWER

    I can't figure out the exact solution, but the web host told me that because this server had somehow been accessed by malware, this whole thing had to be closed down and the domain moved to a new address.

    Moving domain to a new server solved this problem.


  2. This would be something to ask your Hosting Provider, Potentially they have changed the PHP Handler (Eg from suPHP to FastCGI)

    Login or Signup to reply.
  3. You can go to >>> virtualmin >>> serve configuration >> website options

    And make the change to
    FCGI, fpm or what your system is available

    enter image description here

    enter image description here

    Login or Signup to reply.
  4. you have upgraded PHP, but your Virtualmin is not configured to use it correctly.

    On Virtualmin go to system settings -> Re-check configuration, Virtualmin will detect new PHP version and configure it to use on your server.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search