Seb45874

Registered
Apr 21, 2018
4
0
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.