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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.htaccess auto filled for MultiPHP?

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

Tags:
  1. Seb45874

    Seb45874 Registered

    Joined:
    Apr 21, 2018
    Messages:
    3
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,276
    Likes Received:
    1,759
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page