Why did the timestamps on my .htaccess files change after an update?
There is a post-transaction script named 009-phpconf.pl that runs after any PHP or EasyApache packages are updated, installed, or removed that checks this section of all domain .htaccess files for accuracy:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
# php -- END cPanel-generated handler, do not edit
This section will be updated if any of the following is true:
- The section is not at the bottom of the .htaccess file.
- The section is missing.
- The section has been modified.
Even if the section is at the bottom and matches MultiPHP Manager, the script causes the time stamp on the files to change.