Stop cpanel from adding PHP handler?
cPanel keeps adding this the bottom of every .htaccess for my sites and the root public_html:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the "ea-php81" package as the default "PHP" programming language.
AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
# php -- END cPanel-generated handler, do not edit
How do I stop this? I'm running fpm:
3535388 0.0 0.0 11000 root php-fpm: master process (/usr/local/cpanel/etc/php-fpm.conf)
3683286 0.0 0.1 22620 root php-fpm: master process (/opt/cpanel/ea-php81/root/etc/php-fpm.conf)
I don't want it helping me.
-
Hey there! There is no way to stop that from appearing as that is a core function of cPanel. Can you let me know what problem it is causing you? 0 -
Hey there! There is no way to stop that from appearing as that is a core function of cPanel. Can you let me know what problem it is causing you?
Well, I just think its better to control all sites through the .htaccess in public_html, I define what all sites are going to use there. I guess its the same thing.0
Please sign in to leave a comment.
Comments
2 comments