# php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php74” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml# php -- END cPanel-generated handler, do not edit
Here is what the above code is Doing:
1. It’s setting the default PHP version to 7.4
2. It’s setting the default PHP handler to ea-php74
3. It’s adding the .php7 extension to the list of extensions that are handled by ea-php74
If you want to use a different PHP version, you can change the above code to use the appropriate PHP version.
For example, if you want to use PHP 7.3, you can change the above code to the following: