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!

ea-php56 entry in auto-generated .htaccess

Discussion in 'EasyApache' started by Sikam, Aug 10, 2017.

Tags:
  1. Sikam

    Sikam Registered

    Joined:
    Aug 9, 2017
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Athens, Greece
    cPanel Access Level:
    Root Administrator
    Hello!
    After creating an addon domain I saw that the .htaccess which was automatically generated has the following snippet:

    Code:
    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php56” package as the default “PHP” programming language.
    <IfModule mime_module>
      AddType application/x-httpd-ea-php56 .php .php5 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
    What is it needed for? I'm asking because my previous 2 cpanel accounts didn't have that entry.

    Code:
    /etc/redhat-release:CloudLinux release 7.3 (Yury Malyshev)
    /usr/local/cpanel/version:11.64.0.36
    /var/cpanel/envtype:standard
    CPANEL=release
    Cloudlinux
    Litespeed
     
  2. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    162
    Likes Received:
    17
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    This is what you do when you make a custom php version for your account.

    It is not a problem.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Sikam likes this.
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