Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED PHP downloading in browser not parsed.

Discussion in 'EasyApache' started by Jeff P., Oct 8, 2018.

  1. Jeff P.

    Jeff P. Well-Known Member

    Joined:
    Feb 2, 2016
    Messages:
    52
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Daytona Beach, Florida, USA
    cPanel Access Level:
    DataCenter Provider
    PHP downloading in browser not parsed.

    Running cPanel default profile with Ruid. Handler is CGI. Some parse, others do not.

    Works fine when I delete this crap from .htaccess, but easy apache keep placing it and taking our high traffic sites down:


    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php72” package as the default “PHP” programming language.
    <IfModule mime_module>
    AddType application/x-httpd-ea-php72 .php .php7 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Jeff P.

    Jeff P. Well-Known Member

    Joined:
    Feb 2, 2016
    Messages:
    52
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Daytona Beach, Florida, USA
    cPanel Access Level:
    DataCenter Provider
    Solved, it was just not removing the previous versions when I change version. Running only 1 version globally worked out for me.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Jeff P.

    Glad to see you were able to resolve the issue. Thanks for updating the thread with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice