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!

.htaccess auto filled for MultiPHP?

Discussion in 'EasyApache' started by Seb45874, Apr 24, 2018.

Tags:
  1. Seb45874

    Seb45874 Registered

    Joined:
    Apr 21, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    france
    cPanel Access Level:
    Root Administrator
    Hi,

    I see that cpanel auto add this when multiphp is enables :
    # php -- BEGIN cPanel-generated handler, do not edit
    # NOTE this account's php is controlled via FPM and the vhost, this is a place holder.
    # Do not edit. This next line is to support the cPanel php wrapper (php_cli).
    # AddType application/x-httpd-ea-php72 .php .phtml
    # php -- END cPanel-generated handler, do not edit

    But what if I delete this ? Will the website be run through default PHP ? Wont PHP-FPM run correctly ?
    thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Seb45874,

    Those lines are commented by default, meaning they don't actually change the configuration. It's safe to remove those lines, and we actually have an internal case open (HB-3005) to ensure the lines are no longer populated in the .htaccess file when PHP-FPM is enabled.

    Thank you.
     
    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