The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EA4 - MPM Worker w/ PHP 7 - 500 Error

Discussion in 'General Discussion' started by Speedy059, Aug 18, 2016.

  1. Speedy059

    Speedy059 Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Hi Everyone,

    I'm having an issue after upgrading to EA4 and enabling MPM Worker w/ PHP5.6 and PHP7. When our site is using php 5.6 it seems to work just fine. When I switch the site to PHP 7 we get "500 Internal Server Error". I can't seem to find any useful logs telling me what is causing this. Any ideas? Any log files that would tell me the PHP error(s)?

    Using WHM 58.0 (build 20)

    Thanks!
     
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    509
    Likes Received:
    65
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    '/var/log/apache2/error_log' will tell you why it's throwing an error. If you have to start debugging PHP, start by comparing PHP configurations between the two versions. A low memory_limit amongst other things could cause these issues.
     
  3. Speedy059

    Speedy059 Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    For some reason that log didn't help me. I was able to use Symfony 3's debuging tool and saw that my SOAP functions were throwing errors. Needless to say, when you upgrade to PHP7 be sure to delete your WSDL cache's!
     
  4. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    509
    Likes Received:
    65
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    +1, awesome! If it's PHP that's throwing errors, then that won't usually bubble up to Apache. Good find!
     
Loading...

Share This Page